develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Hidden dependencies?

Thread Previous | Thread Next
Alan Burlison
October 3, 2003 01:51
Re: Hidden dependencies?
Message ID: wrote:

> 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.

This seems like a far more reasonable approach, although it won't help me 
too much for Solaris as I massage the perl distribution anyway (e.g. 
removing non-relevant architecture files, splitting perl into 2 bits etc). 
However in general I think a META.yml is a good idea.

Alan Burlison

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About