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:49 -0700
commitde39dd2c9ec0b6645c3d859d38780605e8f3a5c2 (patch)
tree69287829d7a6ba2798373c3e3e43d17b45aa581e /glusterfs.spec.in
parentb7d2482d85d57b4eaf2110060f62f17769895da7 (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: 1145992 Change-Id: If28415e60061ccf043a89511c192e444f162b754 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: http://review.gluster.org/8836 Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.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 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 <barumuga@redhat.com>
+- remove /sbin/ldconfig as interpreter (#1145992)
+
* Thu Jun 29 2014 Humble Chirammal <hchiramm@redhat.com>
- Added dynamic loading of fuse module with glusterfs-fuse package installation in el5.