rpms/plague/devel plague-0.4-py25.patch, NONE, 1.1 plague.spec, 1.29, 1.30

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Sun Dec 17 18:18:55 UTC 2006


Author: toshio

Update of /cvs/extras/rpms/plague/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29826

Modified Files:
	plague.spec 
Added Files:
	plague-0.4-py25.patch 
Log Message:
- Small fix for a change in python 2.5's xmlrpc library.  The patch has been
  upstreamed.


plague-0.4-py25.patch:

--- NEW FILE plague-0.4-py25.patch ---
Index: plague-0.4.4.1/common/XMLRPCServerProxy.py
===================================================================
--- plague-0.4.4.1.orig/common/XMLRPCServerProxy.py
+++ plague-0.4.4.1/common/XMLRPCServerProxy.py
@@ -25,7 +25,9 @@ class PlgSSL_Transport(xmlrpclib.Transpo
 
     user_agent = "pyOpenSSL_XMLRPC/%s - %s" % (__version__, xmlrpclib.Transport.user_agent)
 
-    def __init__(self, ssl_context, timeout=None):
+    def __init__(self, ssl_context, timeout=None, use_datetime=0):
+        if sys.version_info[:3] >= (2, 5, 0):
+            xmlrpclib.Transport.__init__(self, use_datetime)
         self.ssl_ctx=ssl_context
         self._timeout = timeout
 


Index: plague.spec
===================================================================
RCS file: /cvs/extras/rpms/plague/devel/plague.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- plague.spec	15 Dec 2006 03:57:19 -0000	1.29
+++ plague.spec	17 Dec 2006 18:18:25 -0000	1.30
@@ -3,7 +3,7 @@
 Summary: Distributed build system for RPMs
 Name: plague
 Version: 0.4.4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPL
 Group: Development/Tools
 Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2
@@ -17,6 +17,8 @@
 Requires(preun): /sbin/service
 
 Patch0: plague-0.4-daemonize.patch
+Patch1: plague-0.4-py25.patch
+
 %description
 The Plague build system is a client/server distributed build system for
 building RPM packages.  This package provides the plague server.
@@ -67,6 +69,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .umask
+%patch1 -p1 -b .py25
 
 %build
 make
@@ -147,6 +150,10 @@
 
 
 %changelog
+* Fri Dec 15 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 0.4.4.1-4
+- Small fix for a change in python 2.5's xmlrpc library.  The patch has been
+  upstreamed.
+
 * Thu Dec 14 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 0.4.4.1-3
 - Rebuild for new Python
 




More information about the scm-commits mailing list