From 84ec13831a4f02cfa8295c9f23b75bf39dc9be30 Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Fri, 13 May 2016 01:12:10 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/14312 Smoke: Gluster Build System Reviewed-by: Kaleb KEITHLEY NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- glusterfs.spec.in | 12 ++++++++---- 1 file 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 -- cgit