Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

davorg (18)

Yahoo! ID: daveorguk (Add User, Send Message)

Hacker, author, trainer

Technorati Profile []

Journal of davorg (18)

Wednesday June 21, 2006
04:36 AM


[ #29986 ]

I've been dabbling with building RPMs from CPAN modules. Mostly they are modules I've written but I've also packaged a few dependencies that they have.

The RPMs are on my web site. I built them using Fedora Core 5, but in case that doesn't work for some people I've also made the source RPMs and the spec files available.

I'm interested in any comments you have about them. If it's successful then I might start a real yum repository.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Have you not discovered Debian yet? :-)
    • I'm not going to get into distro flamewars. I've been using Red Hat based distributions since something like Red Hat 4.2 and I can't see any good reason for changing now. I'm aware that many people dislike Red Hat for various reasons, but I'm very happy with it.

      If you want to repackage them for apt then feel free. I won't be doing it.

      And besides, aren't all the Debian users moving to Ubuntu these days :-)

    • Well, I looked at the recent dpkg2 spec, and it seems that they finally are going to integrate quite a number of features that were present in rpm for years...

      (Also, Debian lacks a good depsolver... Ubuntu uses dpkg packages, but comes with smart, which is much better than apt.)

      ((Not endorsing rpm, that said. I know the rpm guts fairly well and I do know what kind of crappy bugs there are in it, and how much poor design decisions plagued it historically...))

  • 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 cours
    • 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 [] 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.