summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorBala.FA <barumuga@redhat.com>2014-07-02 14:21:39 +0530
committerVijay Bellur <vbellur@redhat.com>2014-09-25 10:29:28 -0700
commit94b0ac65c35d5e167d8e761f198edffe78c7dab2 (patch)
tree5084c49a70bb330d4570191dc241eb8c06a18b5a /glusterfs.spec.in
parent2471aa9aa23960e2e5e3a4db1b6e3e8388e2476e (diff)
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 <barumuga@redhat.com> Reviewed-on: http://review.gluster.org/8835 Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Lalatendu Mohanty <lmohanty@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in15
1 files changed, 11 insertions, 4 deletions
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 <barumuga@redhat.com>
+- remove /sbin/ldconfig as interpreter (#1145989)
+
* Fri Sep 5 2014 Lalatendu Mohanty <lmohanty@redhat.com>
- Changed the description as "GlusterFS a distributed filesystem"