https://bugzilla.redhat.com/show_bug.cgi?id=831716
--- Comment #5 from Petr Pisar ppisar@redhat.com --- (In reply to comment #3)
(In reply to comment #2)
This is wrong approach on Fedora. It should check for perl modules, not for RPM packages.
This is exactly what Bugzilla does. It looks for JSON::RPC.
But it needs JSON::RPC::Legacy::Server::CGI. So checking for JSON::RPC is pointless. If you need JSON::RPC::Legacy::Server::CGI, then put `Requires perl(JSON::RPC::Legacy::Server::CGI)' into Bugzilla RPM package.
This is supposed to mean that legacy code is also installed. Bugzilla is not going to check each module individually.
Use RPM dependencies.
JSON::RPC is not supposed to be split into several pieces, which is specific to Fedora/RHEL.
Who does decide? perl-JSON-RPC packager. Splitting upstream into more packages is normal in binary distributions.