Bug 1914939

Summary: Bad dependency on perl(Apache2::Log)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Log-DispatchAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jose.p.oliveira.oss, perl-devel, rc040203, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Log-Dispatch-2.70-2.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-11 15:57:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2021-01-11 14:25:35 UTC
perl-Log-Dispatch-2.70-1.fc34 build-requires perl(Apache2::Log). But the dependency is not exhibited when running the tests. The package should stop build-requiring perl(Apache2::Log).

perl-Log-Dispatch-2.70-1.fc34.noarch delivers /usr/share/perl5/vendor_perl/Log/Dispatch/ApacheLog.pm which "require Apache2::Log;", but the package is missing a run-time dependency on perl(Apache2::Log). The package should run-require perl(Apache2::Log).

I recommend splitting the Log/Dispatch/ApacheLog.pm file into a separate subpackage because a transitive dependency on mod_perl would be obtrusive to many users.

I can resolve all these issues for you if you don't mind.

Comment 1 Tom "spot" Callaway 2021-01-11 14:34:19 UTC
Feel free.

Comment 2 Petr Pisar 2021-01-11 14:38:18 UTC
And yet another question: May I disable the Log/Dispatch/ApacheLog.pm subpackage on RHEL ≥ 9? Or you do you want to keep it enabled for EPEL 9?

Comment 3 Tom "spot" Callaway 2021-01-11 14:42:48 UTC
I'm sure someone will file a bug if it's missed later. :) I think it's fine to exclude it for RHEL 9 now.