From 1018d68400f0c497ac9b14282ce4b83956a0251e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:31 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- nss-mdns.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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