On Thu, Apr 29, 2004, David M. Fetter wrote: > How does everyone else build a slew of perl modules into src.rpm under > OpenPKG? Is there a tool or something that already exists for doing > this?
No, but you have two options and both are easy: 1. Starting with OpenPKG 2.0 you can use the CPAN shell for non-packaging based installations of Perl modules. The stuff is non-RPM controlled, of course. But it will not damage anything RPM-controlled. So, if you need quickly a Perl module which is not available with any of our perl-xxxx packages, this is the way. 2. The clean solution is to create your own perl-xxx package. This is very easy by just starting with a simple existing perl-xxxx package. For instance use the perl-ds package as a template. See http://cvs.openpkg.org/openpkg-src/perl-ds/perl-ds.spec for details. You mainly just reference the CPAN URL to the tarball, unpack the stuff via %setup and build and install it via perl-openpkg. So, I recommend you to create perhaps a perl-local package for you where you add your favorite local Perl modules this way. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List [EMAIL PROTECTED]
