Bug 2137926

Summary: perl-Moo needs to provide "perl(Moo::_Utils)"
Product: [Fedora] Fedora EPEL Reporter: pj <pj>
Component: perl-MooAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: emmanuel, iarnell, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-13 13:59:54 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 pj 2022-10-26 15:37:03 UTC
Description of problem:
Perl module Moo "provides" "Moo::_Utils" (https://metacpan.org/release/HAARG/Moo-2.005004), but the current rpm package does not. Please add the "provides" to the rpm package.

Version-Release number of selected component (if applicable):
Moo-2.005004

How reproducible:
100%

Steps to Reproduce:
1. rpm -qp --provides perl-Moo-2.005004-3.el9.noarch.rpm
2. Does not provide "perl(Moo::_Utils)"
3.

Actual results:
Missing provides

Expected results:
perl(Moo::_Utils) included in provides

Additional info:

Comment 1 Emmanuel Seyman 2022-10-31 11:02:15 UTC
Fedora perl modules usually filter out private modules like Moo::_Utils.
Would you mind sharing why this provide (or lack thereof) is a problem for you?

Comment 2 pj 2022-11-03 18:17:36 UTC
Sorry, I had missed the question originally.
This seemed to have happened as part of a set of cpanspec perl package builds. Somehow perl-MooX-TypeTiny is requiring the "Moo::_Utils". It was part of a mass build for RHEL/AlmaLinux 9.

Comment 3 pj 2022-11-03 18:36:58 UTC
Thank you for pointing out the private module part. I'm not a perl programmer, just a sysadmin trying to rpmbuild all of the perl modules the dev's need.
It does look like the Fedora 36 src.rpm of perl-MooX-TypeTiny does produce the correct rpm package dependencies (not requiring the Moo::_Utils).

So, if the normal procedure is to not include these private, then please close. I can proceed using the Fedora src.rpm instead of getting the latest via cpanspec (which is the same ATM).
Thank you for your help on this!

Comment 4 Emmanuel Seyman 2022-11-13 13:59:54 UTC
In perl-MooX-TypeTiny, we filter out Moo::_* from the requires and then hardcode a dependency on Moo (the module that provides Moo::_Utils) so this may not be the best example of our policy being useful...

Still, everything works in Fedora so I'll close this.