From 94b0ac65c35d5e167d8e761f198edffe78c7dab2 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: 1145989 Change-Id: Ic321f200d92d2e49ff797965a006f63f483d29be Signed-off-by: Bala.FA Reviewed-on: http://review.gluster.org/8835 Reviewed-by: Lalatendu Mohanty Tested-by: Lalatendu Mohanty Reviewed-by: Niels de Vos Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System --- glusterfs.spec.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 70d4c63542b..2eec3b3b9b3 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -722,7 +722,8 @@ rm -rf %{buildroot} %endif %endif -%post api -p /sbin/ldconfig +%post api +/sbin/ldconfig %post fuse %if ( 0%{?rhel} == 5 ) @@ -737,7 +738,8 @@ if [ $1 -ge 1 ]; then fi %endif -%post libs -p /sbin/ldconfig +%post libs +/sbin/ldconfig %post server # Legacy server @@ -815,9 +817,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 @@ -1030,6 +1034,9 @@ fi %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid %changelog +* Wed Sep 24 2014 Balamurugan Arumugam +- remove /sbin/ldconfig as interpreter (#1145989) + * Fri Sep 5 2014 Lalatendu Mohanty - Changed the description as "GlusterFS a distributed filesystem" -- cgit