summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-05-13 01:12:10 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-05-26 07:10:00 -0700
commit2db5ac501be76bf20f459f0d1440ea6b4ee2d04c (patch)
tree5886c03c51207838aa7e886db4be80b0e19e9e32 /glusterfs.spec.in
parent606fe093b804cb133e27de2d7d21baeba4fb3944 (diff)
packaging: %postun libs ldconfig: relative path `1' used to build cache
Remove %post{un} {libs|api} -p /sbin/ldconfig optimization and move /sbin/ldconfig on a separate line. Upstream patch: http://review.gluster.org/14312 Change-Id: I8a4c3879afcb7cea08d4b303a2524432d2ffec06 BUG: 1328836 Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: http://review.gluster.org/14312 Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> (cherry picked from commit 84ec13831a4f02cfa8295c9f23b75bf39dc9be30) Reviewed-on: http://review.gluster.org/14335 Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 3d2b64f77ad..cecc7e16b5a 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -766,7 +766,8 @@ rm -rf %{buildroot}
%endif
exit 0
-%post api -p /sbin/ldconfig
+%post api
+/sbin/ldconfig
%if ( 0%{?rhel} == 5 )
%post fuse
@@ -782,7 +783,8 @@ fi
exit 0
%endif
-%post libs -p /sbin/ldconfig
+%post libs
+/sbin/ldconfig
%post server
# Legacy server
@@ -893,9 +895,11 @@ exit 0
%endif
%endif
-%postun api -p /sbin/ldconfig
+%postun api
+/sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%postun libs
+/sbin/ldconfig
%postun server
/sbin/ldconfig