rpms/tinyerp/devel tinyerp-server-4.0.3-xmlrpc.patch, NONE, 1.1 tinyerp.spec, 1.28, 1.29

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Tue Oct 16 17:14:23 UTC 2007


Author: sharkcz

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

Modified Files:
	tinyerp.spec 
Added Files:
	tinyerp-server-4.0.3-xmlrpc.patch 
Log Message:
* Tue Oct 16 2007 Dan Horak <dan[at]danny.cz> 4.0.3-3
- fix problem with xmlrpc from Python 2.5 (#334121)


tinyerp-server-4.0.3-xmlrpc.patch:

--- NEW FILE tinyerp-server-4.0.3-xmlrpc.patch ---
diff -Nru tinyerp-server-4.0.3.orig/bin/netsvc.py tinyerp-server-4.0.3/bin/netsvc.py
--- tinyerp-server-4.0.3.orig/bin/netsvc.py	2007-02-20 15:28:46.000000000 +0100
+++ tinyerp-server-4.0.3/bin/netsvc.py	2007-10-16 18:54:41.000000000 +0200
@@ -223,11 +223,11 @@
 			raise xmlrpclib.Fault(1,s)
 
 class SimpleXMLRPCRequestHandler(GenericXMLRPCRequestHandler, SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
-	pass
+	SimpleXMLRPCServer.SimpleXMLRPCRequestHandler.rpc_paths = ('/xmlrpc/db', '/xmlrpc/common', '/xmlrpc/object', '/xmlrpc/report', '/xmlrpc/wizard')
 
 if HAS_SSL:
 	class SecureXMLRPCRequestHandler(GenericXMLRPCRequestHandler, SecureXMLRPCServer.SecureXMLRPCRequestHandler):
-		pass
+		SecureXMLRPCServer.SecureXMLRPCRequestHandler.rpc_paths = ('/xmlrpc/db', '/xmlrpc/common', '/xmlrpc/object', '/xmlrpc/report', '/xmlrpc/wizard')
 else:
 	pass
 


Index: tinyerp.spec
===================================================================
RCS file: /cvs/extras/rpms/tinyerp/devel/tinyerp.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- tinyerp.spec	26 Sep 2007 09:23:18 -0000	1.28
+++ tinyerp.spec	16 Oct 2007 17:13:51 -0000	1.29
@@ -21,7 +21,7 @@
 
 Name:		tinyerp
 Version:	4.0.3
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPLv2+
 Group:		Applications/Productivity
 Summary:	Open Source ERP Client
@@ -47,6 +47,7 @@
 %endif
 Requires:	pygtk2, pygtk2-libglade, pydot
 Patch0:		tinyerp-client-l10n.patch
+Patch100:	tinyerp-server-4.0.3-xmlrpc.patch
 
 %description
 Tiny ERP is a free enterprise management software package. It 
@@ -75,6 +76,7 @@
 pushd tinyerp-client-%{version}
 %patch0
 popd
+%patch100
 
 cp %{SOURCE6} tinyerp-server-%{version}/doc/README.Fedora
 
@@ -171,6 +173,9 @@
 
 
 %changelog
+* Tue Oct 16 2007 Dan Horak <dan[at]danny.cz> 4.0.3-3
+- fix problem with xmlrpc from Python 2.5 (#334121)
+
 * Wed Sep 26 2007 Dan Horak <dan[at]danny.cz> 4.0.3-2
 - update the desktop file to the current standards
 - update the license tag




More information about the fedora-extras-commits mailing list