From ed46ff10f2fc3baf8441da4fda7322b5331b358c Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Sun, 27 Nov 2016 11:47:58 +0100
Subject: Check for perl(JSON::RPC::Legacy::Server::CGI) instead of
 perl(JSON::RPC)

---
 bugzilla-yum.patch | 15 ++++++++++++---
 bugzilla.spec      |  5 ++++-
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/bugzilla-yum.patch b/bugzilla-yum.patch
index 9d53205..b73d261 100644
--- a/bugzilla-yum.patch
+++ b/bugzilla-yum.patch
@@ -1,6 +1,15 @@
---- bugzilla-4.01/Bugzilla/Install/Requirements.pm     2011-05-01 
17:09:35.000000000 +0200
-+++ bugzilla-4.01-yum/Bugzilla/Install/Requirements.pm 2011-05-01 
17:11:28.000000000 +0200
-@@ -587,7 +587,7 @@
+--- bugzilla-5.0.3/Bugzilla/Install/Requirements.pm.orig       2016-11-13 
11:03:43.977035344 +0100
++++ bugzilla-5.0.3/Bugzilla/Install/Requirements.pm    2016-11-13 
11:16:26.115320528 +0100
+@@ -304,7 +304,7 @@ sub OPTIONAL_MODULES {
+     },
+     {
+         package => 'JSON-RPC',
+-        module  => 'JSON::RPC',
++        module  => 'JSON::RPC::Legacy::Server::CGI',
+         version => 0,
+         feature => ['jsonrpc'],
+     },
+@@ -648,7 +648,7 @@
      if ($output && $check_results->{any_missing} && !ON_ACTIVESTATE
          && !$check_results->{hide_all}) 
      {
diff --git a/bugzilla.spec b/bugzilla.spec
index 7dd8074..1765e6d 100644
--- a/bugzilla.spec
+++ b/bugzilla.spec
@@ -6,7 +6,7 @@ URL: http://www.bugzilla.org/
 Name: bugzilla
 Version: 4.4.12
 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
@@ -229,6 +229,9 @@ popd > /dev/null)
 %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm
 
 %changelog
+* Sun Nov 27 2016 Emmanuel Seyman <emman...@seyman.fr> - 4.4.12-2
+- Check for perl(JSON::RPC::Legacy::Server::CGI) instead of perl(JSON::RPC)
+
 * Tue May 17 2016 Emmanuel Seyman <emman...@seyman.fr> - 4.4.12-1
 - Update to 4.4.12, dropping backported patch
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/bugzilla.git/commit/?h=f23&id=ed46ff10f2fc3baf8441da4fda7322b5331b358c
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to