On 6/15/07, Kenneth Porter shiva@sewingwitch.com wrote:
What's the expected way to package a Perl module? I want to build RPM's for several Perl modules and in the past on Fedora I'd use cpanflute2. What do I use on CentOS5? Is there a package to install to provide the necessary utility?
I want to repackage the dependencies for MIMEDefang:
perl(MIME::Parser) is needed by mimedefang-2.62-1.i386 perl(MIME::Tools) >= 5.410 is needed by mimedefang-2.62-1.i386 perl(MIME::Words) is needed by mimedefang-2.62-1.i386 perl-IO-stringy is needed by mimedefang-2.62-1.i386 perl-MIME-tools is needed by mimedefang-2.62-1.i386 perl-MailTools is needed by mimedefang-2.62-1.i386
You would probably want to use cpan2rpm.
Looks like you can get it for CentOS5 at:
http://centos.karan.org/el5/extras/testing/i386/RPMS/
--On Friday, June 15, 2007 6:17 AM -0400 Matt Martz centos@sivel.net wrote:
You would probably want to use cpan2rpm.
Looks like you can get it for CentOS5 at:
Thanks, I found that answer, too, at:
http://wiki.centos.org/PackageManagement/SourceInstalls
Alas, I couldn't answer my own question right away as my message hadn't yet gotten back to me.
The upstream source for cpan2rpm is at http://perl.arix.com/cpan2rpm/. Their FTP is refusing anonymous logins but the latest package can also be downloaded from CPAN and can be rebuilt with "rpmbuild -ta".