Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:39:10 +01:00
parent e8a3da06f8
commit 420616ec9d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -443,41 +443,40 @@ php --no-php-ini \
# make rtest # make rtest
%post %post
/sbin/ldconfig %{?ldconfig}
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
%postun %ldconfig_postun
/sbin/ldconfig
%if %{DEVIL} %if %{DEVIL}
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config* # run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
%post devil %post devil
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
/sbin/ldconfig %{?ldconfig}
%postun devil %postun devil
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
/sbin/ldconfig %{?ldconfig}
%endif %endif
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config* # run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
%post gd %post gd
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
/sbin/ldconfig %{?ldconfig}
%postun gd %postun gd
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
/sbin/ldconfig %{?ldconfig}
%if %{MING} %if %{MING}
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config* # run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
%post ming %post ming
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
/sbin/ldconfig %{?ldconfig}
%postun ming %postun ming
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
/sbin/ldconfig %{?ldconfig}
%endif %endif
%files %files