in reply to CPAN modules to RPMs

My knee-jerk approach to a Perl problem is to find a CPAN module to do what I want. When choosing between CPAN modules the rule of thumb in the absence of other information is to go with the most recent.

I have no recent experience with this, but I can tell you that in 2007 (as nearly as I can reconstruct) cpan2rpm (your Module to assist in converting CPAN modules to RPM) was badly broken. Specifically, it assumed things were in distributions they were no longer in, and would not even install on a then-recent Perl. If you got past that, it died trying to process packages that built using Build.PL, even if there was a Makefile.PL present.

A development release has been made since then (in 2012), but no production release. It looks like the dependency problems have been fixed, but I can not say about the Build.PL problem.

On the other hand, Sullivan Beck's App-CPANtoRPM was released last month, so that is where I would start.

Replies are listed 'Best First'.
Re^2: CPAN modules to RPMs
by SBECK (Chaplain) on May 12, 2018 at 18:38 UTC
    A minor clarification... App-CPANtoRPM was first released in 2012 (the most recent release was a month ago). So, though it's never gotten a lot of publicity, I have been refining it and working the bugs out for 6 years. The syntax and functionality were heavily inspired by cpan2rpm (as a matter of fact, I spent a good while trying to fix cpan2rpm before abandoning that line in favor of a complete rewrite), so I owe a lot of thanks to cpan2rpm.