Blob Blame History Raw
--- 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}) 
     {
-        print install_string('install_all', { perl => $^X });
+        # print install_string('install_all', { perl => $^X });
     }
     if (!$check_results->{pass}) {
         print colored(install_string('installation_failed'), COLOR_ERROR),
@@ -797,7 +797,7 @@
         $package = $module->{package};
     }
     else {
-        $command = "$^X install-module.pl \%s";
+        $command = "dnf install \"perl(\%s)\"";
         # Non-Windows installations need to use module names, because
         # CPAN doesn't understand package names.
         $package = $module->{module};