rpms/xorg-x11/devel xorg-x11.spec,1.222,1.223

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 5 17:25:38 UTC 2005


Author: mharris

Update of /cvs/dist/rpms/xorg-x11/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14177

Modified Files:
	xorg-x11.spec 
Log Message:
- Updated post/postun scripts for libs to use -p /sbin/ldconfig instead,
  which allows rpm to optimize/reduce package installation time




Index: xorg-x11.spec
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11/devel/xorg-x11.spec,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -r1.222 -r1.223
--- xorg-x11.spec	1 Sep 2005 11:00:29 -0000	1.222
+++ xorg-x11.spec	5 Sep 2005 17:25:35 -0000	1.223
@@ -2132,29 +2132,14 @@
   fi
 } &> /dev/null || :
          
-%post libs
-/sbin/ldconfig
-
-%postun libs
-/sbin/ldconfig
-
-%post deprecated-libs
-/sbin/ldconfig
-
-%postun deprecated-libs
-/sbin/ldconfig
-
-%post Mesa-libGL
-/sbin/ldconfig
-
-%postun Mesa-libGL
-/sbin/ldconfig
-
-%post Mesa-libGLU
-/sbin/ldconfig
-
-%postun Mesa-libGLU
-/sbin/ldconfig
+%post libs		-p /sbin/ldconfig
+%postun libs		-p /sbin/ldconfig
+%post deprecated-libs	-p /sbin/ldconfig
+%postun deprecated-libs	-p /sbin/ldconfig
+%post Mesa-libGL	-p /sbin/ldconfig
+%postun Mesa-libGL	-p /sbin/ldconfig
+%post Mesa-libGLU	-p /sbin/ldconfig
+%postun Mesa-libGLU	-p /sbin/ldconfig
 
 ##### xfs scripts ####################################################
 # Work around a bug in the XFree86-xfs postun script, which results in the
@@ -3605,6 +3590,9 @@
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT 
 
 %changelog
+* Mon Sep  5 2005 Mike A. Harris <mharris at redhat.com>
+- Updated post/postun scripts for libs to use -p /sbin/ldconfig instead,
+  which allows rpm to optimize/reduce package installation time
 
 * Thu Sep  1 2005 Mike A. Harris <mharris at redhat.com> 6.8.2-46
 - Added following patches, merged over from RHEL-4 branch of CVS:




More information about the fedora-cvs-commits mailing list