diff options
author | Milind Changire <mchangir@redhat.com> | 2016-05-13 01:12:10 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-05-26 02:42:02 -0700 |
commit | 2e6c07c2e7ffbf8f8b8194a94e0fd9ac61461691 (patch) | |
tree | dd2f3b716433e1339e0948b11bf3bb1a0b5c6902 /glusterfs.spec.in | |
parent | d53bfc6f04bf7c1eaf3105e34308b2cc284ab9b8 (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: 1339610
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/14534
Tested-by: Kaleb KEITHLEY <kkeithle@redhat.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 76c50f32156..fb65abcc3e8 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -733,7 +733,8 @@ rm -rf %{buildroot} %endif exit 0 -%post api -p /sbin/ldconfig +%post api +/sbin/ldconfig %if ( 0%{?rhel} == 5 ) %post fuse @@ -749,7 +750,8 @@ fi exit 0 %endif -%post libs -p /sbin/ldconfig +%post libs +/sbin/ldconfig %post server # Legacy server @@ -860,9 +862,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 |