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.


In reply to Re: CPAN modules to RPMs by Anonymous Monk
in thread CPAN modules to RPMs by clueless newbie

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.