Re: Proposed F12 perl cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 15, 2009 at 12:00 PM, Tom "spot" Callaway <tcallawa@xxxxxxxxxx> 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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux