Bug 1914939 - Bad dependency on perl(Apache2::Log)
Summary: Bad dependency on perl(Apache2::Log)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Log-Dispatch
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-11 14:25 UTC by Petr Pisar
Modified: 2021-01-11 15:57 UTC (History)
4 users (show)

Fixed In Version: perl-Log-Dispatch-2.70-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-11 15:57:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.