Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Moose requires Test::Builder (which pulls in perl-devel)
https://bugzilla.redhat.com/show_bug.cgi?id=506389
Summary: Moose requires Test::Builder (which pulls in perl-devel) Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: perl-Moose AssignedTo: cweyl@alumni.drew.edu ReportedBy: iarnell@gmail.com QAContact: extras-qa@fedoraproject.org CC: cweyl@alumni.drew.edu, fedora-perl-devel-list@redhat.com Classification: Fedora
Test::Moose in the perl-Moose package pulls in perl-devel + deps. It would be nice to avoid that on runtime systems.
Version-Release number of selected component (if applicable): perl-Moose-0.81-1.fc12.noarch
Steps to Reproduce: 1. yum install perl-Moose
Actual results: installs perl-devel + deps
Expected results: doesn't install perl-devel + deps
Additional info: Can we split Test::Moose into a separate sub-package?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=506389
--- Comment #1 from Chris Weyl cweyl@alumni.drew.edu 2009-06-18 11:11:36 EDT --- Hmmm... yeah, this should be looked at. My initial concern with splitting it off is that I'm not sure how many (or even if any) packages have this as a "silent" test requires.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=506389
--- Comment #2 from Iain Arnell iarnell@gmail.com 2009-06-20 06:43:27 EDT --- That's easy enough to check. repoquery, cvs, find, make prep, and grep turn up 41 packages that require perl(Moose), of which 8 also silently require Test::Moose.
perl-DBIx-Class perl-Moose perl-MooseX-AttributeHelpers perl-MooseX-Daemonize perl-MooseX-Getopt perl-MooseX-POE perl-MooseX-Role-Parameterized perl-MooseX-Types
BTW, perl-MooseX-Daemonize suffers the same problem - it contains Test::MouseX::Daemonize that also brings in perl-devel et al.
If only we had rpm with soft-dependencies - perl-Test-Moose BuildSupplements perl-Moose (assuming koji/mock would respect strong soft-deps).
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=506389
Chris Weyl cweyl@alumni.drew.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |RAWHIDE
--- Comment #3 from Chris Weyl cweyl@alumni.drew.edu 2009-06-23 02:15:37 EDT --- Oof, yeah. I've been wanting soft-deps for ages for reasons along these lines...
Ok, so I've done the split and committed/built it in rawhide. The packages soft-requiring it we'll have to add it manually *sigh* unless the package maintainers add it as a test_requires (which given how many of them use Module::Install should be trivial for them to do).
I've also filed bugs in rt for the ones above (RT::Client::REST can be _very_ useful) -- except for Moose itself, of course -- so hopefully we'll be seeing test_requires metadata on them soon. I also didn't file one against DBIx::Class as they're still considering Moose to be a "soft" requires. RT#47258 to 63.
I'm marking this CLOSED/RAWHIDE; we'll get it out to F-11/10, but not until we're through the current mass-Moose updates, at least.
perl-devel@lists.fedoraproject.org