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

Loading…
Cancel
Save