rpms/xorg-x11/FC-3 xorg-x11.spec,1.77,1.78

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 5 17:30:59 UTC 2005


Author: mharris

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

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/FC-3/xorg-x11.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- xorg-x11.spec	24 May 2005 11:55:06 -0000	1.77
+++ xorg-x11.spec	5 Sep 2005 17:30:32 -0000	1.78
@@ -2114,29 +2114,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
@@ -3620,6 +3605,10 @@
 [ "$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
+
 * Mon May 23 2005 Mike A. Harris <mharris at redhat.com> 6.8.2-1.FC3.34
 - Enabled FC4 patches for FC3, and synchronized FC3 CVS with FC4.
 - Built 6.8.2-34 as 6.8.2-1.FC3.34 for FC3-testing release.




More information about the fedora-cvs-commits mailing list