[libgnomecanvasmm26] scriptlets: use ldconfig directly rather than via shell

Nils Philippsen nphilipp at fedoraproject.org
Wed Jul 13 11:11:36 UTC 2011


commit 90b42e4468bdc573cf261b01ed45b96c790e18e5
Author: Nils Philippsen <nils at redhat.com>
Date:   Wed Jul 13 13:07:19 2011 +0200

    scriptlets: use ldconfig directly rather than via shell

 libgnomecanvasmm.spec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libgnomecanvasmm.spec b/libgnomecanvasmm.spec
index c556288..abe414a 100644
--- a/libgnomecanvasmm.spec
+++ b/libgnomecanvasmm.spec
@@ -52,12 +52,10 @@ find %buildroot -type f -name "*.la" -exec rm -f {} ';'
 rm -rf %buildroot
 
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 
 %files


More information about the scm-commits mailing list