- run_ldconfig is obsolete, use /sbin/ldconfig instead
authorMichael Schroeder <mls@suse.de>
Thu, 25 Feb 2010 14:33:16 +0000 (15:33 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 25 Feb 2010 14:33:16 +0000 (15:33 +0100)
libzypp.spec.cmake

index b29bdb5..257fa0f 100644 (file)
@@ -181,7 +181,7 @@ cd ..
 
 
 %post
-%run_ldconfig
+/sbin/ldconfig
 if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
 
 # convert old lock file to new
@@ -245,8 +245,7 @@ if is_old ${LOCKSFILE}
 fi
 
 
-%postun
-%run_ldconfig
+%postun -p /sbin/ldconfig
 
 %clean
 rm -rf "$RPM_BUILD_ROOT"