Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel8
Igor Gnatenko 6 years ago
parent f373c9f596
commit 1018d68400
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -38,7 +38,7 @@ rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig %{?ldconfig}
# sed-fu to add mdns4_minimal to the hosts line of /etc/nsswitch.conf # sed-fu to add mdns4_minimal to the hosts line of /etc/nsswitch.conf
if [ -f /etc/nsswitch.conf ] ; then if [ -f /etc/nsswitch.conf ] ; then
sed -i.bak ' sed -i.bak '
@ -57,7 +57,7 @@ if [ "$1" -eq 0 -a -f /etc/nsswitch.conf ] ; then
' /etc/nsswitch.conf ' /etc/nsswitch.conf
fi fi
%postun -p /sbin/ldconfig %ldconfig_postun
%files %files

Loading…
Cancel
Save