1 |
diff -up ./Bugzilla/Install/Requirements.pm.dnf ./Bugzilla/Install/Requirements.pm |
2 |
--- ./Bugzilla/Install/Requirements.pm.dnf 2019-02-14 20:47:13.396609293 +0100 |
3 |
+++ ./Bugzilla/Install/Requirements.pm 2019-02-14 20:49:04.733906799 +0100 |
4 |
@@ -298,7 +298,7 @@ sub OPTIONAL_MODULES { |
5 |
}, |
6 |
{ |
7 |
package => 'JSON-RPC', |
8 |
- module => 'JSON::RPC', |
9 |
+ module => 'JSON::RPC::Legacy::Server::CGI', |
10 |
version => 0, |
11 |
feature => ['jsonrpc', 'rest'], |
12 |
}, |
13 |
@@ -657,7 +657,7 @@ sub print_module_instructions { |
14 |
&& !ON_ACTIVESTATE |
15 |
&& !$check_results->{hide_all}) |
16 |
{ |
17 |
- print install_string('install_all', {perl => $^X}); |
18 |
+ # print install_string('install_all', {perl => $^X}); |
19 |
} |
20 |
if (!$check_results->{pass}) { |
21 |
print colored(install_string('installation_failed'), COLOR_ERROR), "\n\n"; |
22 |
@@ -811,7 +811,7 @@ sub install_command { |
23 |
$package = $module->{package}; |
24 |
} |
25 |
else { |
26 |
- $command = "$^X install-module.pl \%s"; |
27 |
+ $command = "dnf install \"perl(\%s)\""; |
28 |
|
29 |
# Non-Windows installations need to use module names, because |
30 |
# CPAN doesn't understand package names. |