From de39dd2c9ec0b6645c3d859d38780605e8f3a5c2 Mon Sep 17 00:00:00 2001 From: "Bala.FA" Date: Wed, 2 Jul 2014 14:21:39 +0530 Subject: build: remove /sbin/ldconfig as interpreter using /sbin/ldconfig as interpreter in pre/post/postun throws error /sbin/ldconfig: relative path `1' used to build cache BUG: 1145992 Change-Id: If28415e60061ccf043a89511c192e444f162b754 Signed-off-by: Bala.FA Reviewed-on: http://review.gluster.org/8836 Reviewed-by: Humble Devassy Chirammal Reviewed-by: Lalatendu Mohanty Tested-by: Lalatendu Mohanty Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Niels de Vos --- glusterfs.spec.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index b6068ff792a..77f60eca0e4 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -718,7 +718,8 @@ rm -rf %{buildroot} %endif %endif -%post api -p /sbin/ldconfig +%post api +/sbin/ldconfig %post fuse %if ( 0%{?rhel} == 5 ) @@ -733,7 +734,8 @@ if [ $1 -ge 1 ]; then fi %endif -%post libs -p /sbin/ldconfig +%post libs +/sbin/ldconfig %post server # Legacy server @@ -811,9 +813,11 @@ fi %endif %endif -%postun api -p /sbin/ldconfig +%postun api +/sbin/ldconfig -%postun libs -p /sbin/ldconfig +%postun libs +/sbin/ldconfig ##----------------------------------------------------------------------------- ## All %files should be placed here and keep them sorted @@ -1026,6 +1030,9 @@ fi %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid %changelog +* Wed Sep 24 2014 Balamurugan Arumugam +- remove /sbin/ldconfig as interpreter (#1145992) + * Thu Jun 29 2014 Humble Chirammal - Added dynamic loading of fuse module with glusterfs-fuse package installation in el5. -- cgit