Bug 2137926 - perl-Moo needs to provide "perl(Moo::_Utils)"
Summary: perl-Moo needs to provide "perl(Moo::_Utils)"
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-Moo
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-26 15:37 UTC by pj
Modified: 2022-11-13 13:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-13 13:59:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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