diff options
author | Milind Changire <mchangir@redhat.com> | 2016-05-13 01:12:10 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-05-13 00:54:41 -0700 |
commit | 84ec13831a4f02cfa8295c9f23b75bf39dc9be30 (patch) | |
tree | d5d3896e01c07302b9ef5fdd293c18fd416cc7a3 /glusterfs.spec.in | |
parent | a9128cda34b1f696b717ba09fa0ac5a929be8969 (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.
Change-Id: I8a4c3879afcb7cea08d4b303a2524432d2ffec06
BUG: 1330583
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>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 38f868df0b1..2f4e94d13cc 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -725,7 +725,8 @@ rm -rf %{buildroot} %endif exit 0 -%post api -p /sbin/ldconfig +%post api +/sbin/ldconfig %if ( 0%{?rhel} == 5 ) %post fuse @@ -741,7 +742,8 @@ fi exit 0 %endif -%post libs -p /sbin/ldconfig +%post libs +/sbin/ldconfig %post server # Legacy server @@ -852,9 +854,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 |