rpms/python-mwclient/devel mwclient-wmf.patch, 1.1, 1.2 python-mwclient.spec, 1.1, 1.2

Steven M. Parrish tuxbrewr at fedoraproject.org
Tue Sep 22 14:47:09 UTC 2009


Author: tuxbrewr

Update of /cvs/pkgs/rpms/python-mwclient/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31146

Modified Files:
	mwclient-wmf.patch python-mwclient.spec 
Log Message:
Fix patch file

mwclient-wmf.patch:
 client.py |    2 !!
 1 file changed, 2 modifications(!)

Index: mwclient-wmf.patch
===================================================================
RCS file: /cvs/pkgs/rpms/python-mwclient/devel/mwclient-wmf.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- mwclient-wmf.patch	22 Sep 2009 13:05:47 -0000	1.1
+++ mwclient-wmf.patch	22 Sep 2009 14:47:07 -0000	1.2
@@ -1,12 +1,20 @@
-diff -up mwclient/client.py.wmf mwclient/client.py
---- mwclient/client.py.wmf	2009-07-16 21:22:54.000000000 -0500
-+++ mwclient/client.py	2009-09-20 14:57:59.971785030 -0500
-@@ -100,7 +100,7 @@ class Site(object):
- 			if len(version) == 2 and version[1].endswith('alpha'):
- 				self.version = (int(version[0]), int(version[1][:-5]), 'alpha')
- 			elif len(version) == 2 and version[1].endswith('alpha-wmf'):
--				self.version = (int(version[0]), int(version[1][:-5]), 'alpha-wmf')
-+				self.version = (int(version[0]), int(version[1][:-9]), 'alpha-wmf')
- 			elif len(version) == 3 and 'rc' in version[2]:
- 				self.version = (int(version[0]), int(version[1]), version[2])
- 			elif len(version) == 3:
+diff -crB mwclient/client.py mwclient-fedora/client.py
+*** mwclient/client.py	2009-07-16 21:22:54.000000000 -0400
+--- mwclient-fedora/client.py	2009-09-22 10:36:31.000000000 -0400
+***************
+*** 100,106 ****
+  			if len(version) == 2 and version[1].endswith('alpha'):
+  				self.version = (int(version[0]), int(version[1][:-5]), 'alpha')
+  			elif len(version) == 2 and version[1].endswith('alpha-wmf'):
+! 				self.version = (int(version[0]), int(version[1][:-5]), 'alpha-wmf')
+  			elif len(version) == 3 and 'rc' in version[2]:
+  				self.version = (int(version[0]), int(version[1]), version[2])
+  			elif len(version) == 3:
+--- 100,106 ----
+  			if len(version) == 2 and version[1].endswith('alpha'):
+  				self.version = (int(version[0]), int(version[1][:-5]), 'alpha')
+  			elif len(version) == 2 and version[1].endswith('alpha-wmf'):
+! 				self.version = (int(version[0]), int(version[1][:-9]), 'alpha-wmf')
+  			elif len(version) == 3 and 'rc' in version[2]:
+  				self.version = (int(version[0]), int(version[1]), version[2])
+  			elif len(version) == 3:


Index: python-mwclient.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-mwclient/devel/python-mwclient.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-mwclient.spec	22 Sep 2009 13:05:47 -0000	1.1
+++ python-mwclient.spec	22 Sep 2009 14:47:07 -0000	1.2
@@ -5,7 +5,7 @@
 
 Name:           python-mwclient
 Version:        0.6.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Mwclient is a client to the MediaWiki API
 
 Group:          System Environment/Libraries
@@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Sep 22 2009 Steven M. Parrish <smparrish at gmail.com> - 0.6.3-3
+- Fix patch
+
 * Sun Sep 20 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.6.3-2
 - upstream wmf patch
 - %%doc README.txt




More information about the fedora-extras-commits mailing list