Front page | perl.perl5.porters |
Postings from October 2003
Re: Hidden dependencies?
Thread Previous
|
Thread Next
From:
schwern
Date:
October 1, 2003 10:37
Subject:
Re: Hidden dependencies?
Message ID:
20031001103739.B11369@ttul.org
On Wed, Oct 01, 2003 at 07:57:01AM +0200, Slaven Rezic wrote:
> I'm still not convinced that it's the responsibility of the perl
> authors to help the rpm build tool. Maybe one could provide a META.yml
> file for perl (including
>
> requires:
> recommends:
> Tk: 800
> Tk::Pod: 4.24
>
> ). And the rpm build tool has to be extended to handle META.yml files.
> But I think it really belongs somewhere to the rpm spec file,
> something like a flag "don't scan for perl module dependencies".
Producing a META.yml file from which some external party generates an rpm
file is a much better approach than Perl shipping with a spec file. Why?
Because from that META.yml you should (in theory) be able to extract the
information for any other packaging system. rpm, dpkg, Sun, etc... Thus
removing a Redhat bias in Perl and more importantly dumping any responsibility
for p5p to maintain other people's packaging files.
The authors of the rpm build tools will adapt, probably quite happily, as its
much easier to read a META.yml file (its just a hash) than to maintain all
the wacky heuristics necessary to automaticly produce a spec file from a
raw Perl distribution. And I'm sure all the non-rpm based dists will be
happy, too.
Thread Previous
|
Thread Next