diff --git a/nss-mdns.spec b/nss-mdns.spec index 3f9cba4..94fc431 100644 --- a/nss-mdns.spec +++ b/nss-mdns.spec @@ -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