rpms/python-fedora/EL-5 python-fedora-py2.4.patch, NONE, 1.1 python-fedora.spec, 1.14, 1.15

Toshio くらとみ toshio at fedoraproject.org
Thu Nov 6 20:46:22 UTC 2008


Author: toshio

Update of /cvs/pkgs/rpms/python-fedora/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24658

Modified Files:
	python-fedora.spec 
Added Files:
	python-fedora-py2.4.patch 
Log Message:
Fixup for python-2.4


python-fedora-py2.4.patch:

--- NEW FILE python-fedora-py2.4.patch ---
Index: fedora/client/__init__.py
===================================================================
--- fedora.orig/client/__init__.py
+++ fedora/client/__init__.py
@@ -50,7 +50,6 @@ class AuthError(FedoraServiceError):
 class AppError(FedoraServiceError):
     '''Error condition that the server is passing back to the client.'''
     def __init__(self, name, message, extras=None):
-        super(AppError, self).__init__(name, message)
         self.name = name
         self.message = message
         self.extras = extras


Index: python-fedora.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-fedora/EL-5/python-fedora.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- python-fedora.spec	4 Nov 2008 23:38:42 -0000	1.14
+++ python-fedora.spec	6 Nov 2008 20:45:52 -0000	1.15
@@ -2,13 +2,14 @@
 
 Name:           python-fedora
 Version:        0.3.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python modules for talking to Fedora Infrastructure Services
 
 Group:          Development/Languages
 License:        GPLv2
 URL:            https://fedorahosted.org/python-fedora/
 Source0:        https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
+Patch0:         python-fedora-py2.4.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -37,6 +38,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 paver build
@@ -57,6 +59,9 @@
 %{python_sitelib}/*
 
 %changelog
+* Thu Nov 6 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.7-2
+- Fix for python 2.4.
+
 * Thu Oct 30 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.7-1
 - New upstream has more complete pkgdb integration.
 




More information about the scm-commits mailing list