rpms/pygame/F-9 pygame-1.8.1-config.patch, NONE, 1.1 pygame.spec, 1.22, 1.23 sources, 1.3, 1.4 pygame-1.7.1-config.patch, 1.3, NONE

Robin Norwood rnorwood at fedoraproject.org
Tue Aug 26 13:37:56 UTC 2008


Author: rnorwood

Update of /cvs/pkgs/rpms/pygame/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24790

Modified Files:
	pygame.spec sources 
Added Files:
	pygame-1.8.1-config.patch 
Removed Files:
	pygame-1.7.1-config.patch 
Log Message:
Update to 1.8.1.

pygame-1.8.1-config.patch:

--- NEW FILE pygame-1.8.1-config.patch ---
--- pygame-1.8.1release/config_unix.py	Mon Jul  7 01:58:40 2008
+++ pygame-1.8.1release/config_unix.py	Tue Aug 26 09:24:43 2008
@@ -15,6 +15,7 @@
 
 def confirm(message):
     "ask a yes/no question, return result"
+    return 1
     reply = raw_input('\n' + message + ' [Y/n]:')
     if reply and string.lower(reply[0]) == 'n':
         return 0


Index: pygame.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygame/F-9/pygame.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- pygame.spec	25 Aug 2008 20:30:32 -0000	1.22
+++ pygame.spec	26 Aug 2008 13:37:26 -0000	1.23
@@ -1,14 +1,14 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           pygame
-Version:        1.8.0
-Release:        2%{?dist}
+Version:        1.8.1
+Release:        1%{?dist}
 Summary:        Python modules for writing games
 
 Group:          Development/Languages
 License:        LGPLv2+
 URL:            http://www.pygame.org
-Patch0:         %{name}-1.7.1-config.patch
+Patch0:         %{name}-1.8.1-config.patch
 Source0:        http://pygame.org/ftp/%{name}-%{version}release.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -38,12 +38,16 @@
 
 %prep
 %setup -qn %{name}-%{version}release
-%patch0 -p0 -b .config~
+%patch0 -p1
 
 # rpmlint fixes
-chmod -x examples/*py
+find examples/ -type f -print0 | xargs -0 chmod -x 
+find docs/ -type f -print0 | xargs -0 chmod -x
+find src/ -type f -name '*.h' -print0 | xargs -0 chmod -x
+chmod -x README.txt WHATSNEW
+
 iconv -f iso8859-1 -t utf-8 WHATSNEW > WHATSNEW.conv && mv -f WHATSNEW.conv WHATSNEW
-iconv -f iso8859-1 -t utf-8 readme.txt > readme.txt.conv && mv -f readme.txt.conv readme.txt
+iconv -f iso8859-1 -t utf-8 README.txt > README.txt.conv && mv -f README.txt.conv README.txt
 
 
 # These files must be provided by pygame-nonfree(-devel) packages on a
@@ -76,7 +80,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc docs/ readme.txt WHATSNEW
+%doc docs/ README.txt WHATSNEW
 %dir %{python_sitearch}/%{name}
 %{python_sitearch}/%{name}*
 
@@ -88,6 +92,10 @@
 
 
 %changelog
+* Tue Aug 26 2008 Robin Norwood <robin.norwood at gmail.com> 1.8.1-1
+- Update to new upstream version.
+- rpmlint fixes
+
 * Mon Aug 25 2008 Robin Norwood <robin.norwood at gmail.com> 1.8.0-2
 - Change from requiring python-numeric to numpy
 - rhbz#457074


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pygame/F-9/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	25 Aug 2008 15:44:34 -0000	1.3
+++ sources	26 Aug 2008 13:37:26 -0000	1.4
@@ -1 +1 @@
-8d9cca47d356db2ada07865aa066dceb  pygame-1.8.0release.tar.gz
+3e72f11d99c1a46ed69eb943c9de20a5  pygame-1.8.1release.tar.gz


--- pygame-1.7.1-config.patch DELETED ---




More information about the scm-commits mailing list