On 1/19/07, Scott Silva ssilva@sgvwater.com wrote:
R Lists06 spake the following on 1/18/2007 5:25 PM:
I just built it with cpan2rpm. It took less than 2 minutes. I can send you an rpm off list if that will help you. --
That would be nice, or learning how to do it.
Question(s)
how does cpan2rpm know that I am using centos 4 and associated libraries and even more importantly, which perl modules I am using or what perl modules that need to be used in the latest incarnation?
cpan2rpm basically seems to be a wrapper that pulls the source from cpan, builds a simple spec file, and tries to do an rpmbuild on the source. If you were good with rpm, you could do it all yourself.
But many who are good with rpm use cpan2rpm or cpanflute. Why? Because someone else already did all the work for us. If they lack we patch them. This is the open source way (of course if they were fundementally wrong we would do our own thing and unleash yet another open source tool into the wild).
Cheers...james