rpms/freeglut/devel freeglut.spec,1.10,1.11

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Sep 23 17:39:05 UTC 2005


Author: mharris

Update of /cvs/dist/rpms/freeglut/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7325

Modified Files:
	freeglut.spec 
Log Message:
Update spec file.


Index: freeglut.spec
===================================================================
RCS file: /cvs/dist/rpms/freeglut/devel/freeglut.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- freeglut.spec	23 Sep 2005 17:25:37 -0000	1.10
+++ freeglut.spec	23 Sep 2005 17:39:02 -0000	1.11
@@ -4,7 +4,6 @@
 Release:   1
 URL:       http://freeglut.sourceforge.net
 Source0:   %{name}-%{version}.tar.gz
-Patch0:    freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch
 License:   MIT
 Group:     System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -58,7 +57,6 @@
 
 %prep
 %setup -q
-#%patch0 -p0 -b .gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393
 
 %build
 %configure --x-libraries=/usr/X11R6/%{_lib} --enable-warnings
@@ -74,11 +72,8 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -98,6 +93,7 @@
 - Updated to freeglut-2.4.0
 - Removed unneeded patches:
   - freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch
+- Use "-p /sbin/ldconfig" in post/postun scripts instead of a separate script.
 
 * Sat Mar  5 2005 Mike A. Harris <mharris at redhat.com> 2.2.0-16
 - Added freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch




More information about the fedora-cvs-commits mailing list