From 92cb5e579886820324f50dfa36978253ae02d280 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-dnf.patch | 13 +++++++++++--
 bugzilla.spec      |  5 ++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/bugzilla-dnf.patch b/bugzilla-dnf.patch
index 78c1d18..8824d21 100644
--- a/bugzilla-dnf.patch
+++ b/bugzilla-dnf.patch
@@ -1,5 +1,14 @@
---- 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
+--- 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', 'rest'],
+     },
 @@ -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 7246630..d142409 100644
--- a/bugzilla.spec
+++ b/bugzilla.spec
@@ -6,7 +6,7 @@ URL: https://www.bugzilla.org/
 Name: bugzilla
 Version: 5.0.3
 Group: Applications/Publishing
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MPLv1.1
 Source0: 
https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -284,6 +284,9 @@ popd > /dev/null)
 %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm
 
 %changelog
+* Sun Nov 27 2016 Emmanuel Seyman <emman...@seyman.fr> - 5.0.3-3
+- Check for perl(JSON::RPC::Legacy::Server::CGI) instead of perl(JSON::RPC)
+
 * Sun Jul 17 2016 Emmanuel Seyman <emman...@seyman.fr> - 5.0.3-2
 - Add build requirements for texlive sub-packages
 - Filter out more optional dependencies
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/bugzilla.git/commit/?h=f25&id=92cb5e579886820324f50dfa36978253ae02d280
_______________________________________________
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