Proposed F12 perl cleanups

Chris Weyl cweyl at alumni.drew.edu
Mon Aug 17 03:05:19 UTC 2009


On Sat, Aug 15, 2009 at 12:00 PM, Tom "spot" Callaway
<tcallawa at redhat.com>wrote:

> Out of the thread on p5p, I'd like to propose the following changes for
> F-12:
>
> * Rename "perl-core" to "perl"
> * Rename "perl" to "perl-minimal"
>
> The biggest change here is that there are still packages which "Require:
> perl", usually to specify a specific minimal version. Here is a list of
> rawhide packages which do this:

[...snip...]


>
> They should either have:
>
> 1. If they're version dependent, they should have
>
> Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
> $version))
>

They should all require this; this also indicates what version of Perl this
package was built/compiled against, rather than a minimum version of Perl
that this module requires to function.  (that is, the package requires
version x.y.z as it's installed in /usr/lib/perl5/x.y.z/).


> 2. If they're not, they could either accept the larger install
> footprint, or switch to:
>
> Requires: perl-minimal
>

Iain is right....  It looks like this is being auto-added.[1]  We'd have to
fix that in the rpm macros -- and maybe get the filtering macros in there,
as I don't seem to be getting much response to
https://bugzilla.redhat.com/show_bug.cgi?id=516240 -- then rebuild the
impacted packages.

In either case, I'm +1 to the renaming (and am somewhat to blame for the
-core name to begin with... sigh).  I think we should probably take a look
at the package descriptions and summaries as part of this as well.

                                                            -Chris

[1] And, can I just say again how erratic our Perl rpm autoreq/prov bits
are?  In practice Perl metadata like this isn't kept in scripts/modules
themselves, and some bits (like Moose traits/roles) are completely masked
from it.  If we want accurate rpm metadata, we ought to be generating our
Perl req/prov out of META.yml and its kind.

-- 
Chris Weyl
Ex astris, scientia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-perl-devel-list/attachments/20090816/9ca5fa30/attachment.htm>


More information about the Fedora-perl-devel-list mailing list