rpms/pygame/devel pygame-1.8.1-config.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 pygame.spec, 1.23, 1.24 sources, 1.3, 1.4 pygame-1.8.0-config.patch, 1.1, NONE

Robin Norwood rnorwood at fedoraproject.org
Tue Aug 26 13:28:17 UTC 2008


Author: rnorwood

Update of /cvs/pkgs/rpms/pygame/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21525

Modified Files:
	.cvsignore pygame.spec sources 
Added Files:
	pygame-1.8.1-config.patch 
Removed Files:
	pygame-1.8.0-config.patch 
Log Message:
Update to 1.8.1 and fix some rpmlint issues.

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: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pygame/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	22 May 2008 16:58:38 -0000	1.3
+++ .cvsignore	26 Aug 2008 13:27:46 -0000	1.4
@@ -1 +1 @@
-pygame-1.8.0release.tar.gz
+pygame-1.8.1release.tar.gz


Index: pygame.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygame/devel/pygame.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- pygame.spec	25 Aug 2008 21:26:21 -0000	1.23
+++ pygame.spec	26 Aug 2008 13:27:46 -0000	1.24
@@ -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:        3%{?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.8.0-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)
 
@@ -39,12 +39,17 @@
 
 %prep
 %setup -qn %{name}-%{version}release
+
 %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
@@ -77,7 +82,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc docs/ readme.txt WHATSNEW
+%doc docs/ README.txt WHATSNEW
 %dir %{python_sitearch}/%{name}
 %{python_sitearch}/%{name}*
 
@@ -89,6 +94,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-3
 - Rebase config patch for 1.8.0
 - Need to specify BR: SDL-devel


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pygame/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	22 May 2008 16:58:38 -0000	1.3
+++ sources	26 Aug 2008 13:27:46 -0000	1.4
@@ -1 +1 @@
-8d9cca47d356db2ada07865aa066dceb  pygame-1.8.0release.tar.gz
+3e72f11d99c1a46ed69eb943c9de20a5  pygame-1.8.1release.tar.gz


--- pygame-1.8.0-config.patch DELETED ---




More information about the scm-commits mailing list