[bugzilla] patch to use JSON::RPC::Legacy::Server::CGI

Tom Callaway spot at fedoraproject.org
Tue Jan 10 17:05:53 UTC 2012


commit 57e3607202fedc4da8fa67a1697f831b77133f42
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Jan 10 12:05:51 2012 -0500

    patch to use JSON::RPC::Legacy::Server::CGI

 bugzilla-4.0.3-JSON-RPC-Legacy-Server-CGI.patch |   12 ++++++++++++
 bugzilla.spec                                   |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/bugzilla-4.0.3-JSON-RPC-Legacy-Server-CGI.patch b/bugzilla-4.0.3-JSON-RPC-Legacy-Server-CGI.patch
new file mode 100644
index 0000000..b7f3d07
--- /dev/null
+++ b/bugzilla-4.0.3-JSON-RPC-Legacy-Server-CGI.patch
@@ -0,0 +1,12 @@
+diff -up bugzilla-4.0.3/Bugzilla/WebService/Server/JSONRPC.pm.legacy bugzilla-4.0.3/Bugzilla/WebService/Server/JSONRPC.pm
+--- bugzilla-4.0.3/Bugzilla/WebService/Server/JSONRPC.pm.legacy	2012-01-10 11:58:09.151432054 -0500
++++ bugzilla-4.0.3/Bugzilla/WebService/Server/JSONRPC.pm	2012-01-10 11:58:25.661290889 -0500
+@@ -22,7 +22,7 @@
+ package Bugzilla::WebService::Server::JSONRPC;
+ 
+ use strict;
+-use base qw(JSON::RPC::Server::CGI Bugzilla::WebService::Server);
++use base qw(JSON::RPC::Legacy::Server::CGI Bugzilla::WebService::Server);
+ 
+ use Bugzilla::Error;
+ use Bugzilla::WebService::Constants;
diff --git a/bugzilla.spec b/bugzilla.spec
index d91804c..833f3b8 100644
--- a/bugzilla.spec
+++ b/bugzilla.spec
@@ -6,7 +6,7 @@ URL: http://www.bugzilla.org/
 Name: bugzilla
 Version: 4.0.3
 Group: Applications/Publishing
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MPLv1.1
 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -14,6 +14,7 @@ Source2: README.fedora.bugzilla
 Source3: bugzilla.cron-daily
 Patch0: bugzilla-rw-paths.patch
 Patch1: bugzilla-yum.patch
+Patch2: bugzilla-4.0.3-JSON-RPC-Legacy-Server-CGI.patch
 
 BuildArch: noarch
 Requires: webserver, patchutils, perl(SOAP::Lite), which
@@ -121,6 +122,8 @@ Contributed scripts and functions for Bugzilla
 %setup -q -n %{name}-%{version}
 %patch0 -p1
 %patch1 -p1
+# Use JSON::RPC::Legacy::Server::CGI
+%patch2 -p1
 rm -f Bugzilla/Constants.pm.orig
 # Remove bundled libs
 rm -rf lib/CGI*
@@ -238,6 +241,9 @@ popd > /dev/null)
 %{bzinstallprefix}/bugzilla/contrib/yp_nomail.sh
 
 %changelog
+* Tue Jan 10 2012 Tom Callaway <spot at fedoraproject.org> - 4.0.3-2
+- patch bz to use JSON::RPC::Legacy::Server::CGI
+
 * Fri Dec 30 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 4.0.3-1
 - Update to 4.0.3
 - Add perl(Locale::Language) to the Requires


More information about the scm-commits mailing list