Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • So you use cpan2rpm ? I hate it. The produced specfile is unmaintainable, notably because it computes the filelist on the fly. But I'm anal (and I'm paid to produce good rpms of perl modules.)

    A few additionnal notes (I took the Template-Toolkit one) :

    * you must not set buildarch unless it's noarch, because rpm will figure it out by itself, and that might be a 64 bit platform, or a sparc, etc.

    * there are no BuildRequires, but a good tool would be able to generate them from the META.yml for example. (of course human tweaking would always be needed.) That makes the rpm difficult to rebuild by automated processes (or even by humans). (rpm is able to figure out some of the requires by itself.)
    • So you use cpan2rpm ?

      Yeah. It was quick and easy (and already installed).

      I'm happy to look at other alternatives tho'. I keep meaning to look at Ovid [cpan.org] but I love to hear other suggestions.

      And thanks for the other suggestions. I'm really new to this and the current RPMs are provided very much on a "this works for me" basis - but I'll be working to raise the quality over the next few weeks.