Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: RPM Redhat

by codiac (Beadle)
on Apr 08, 2014 at 11:56 UTC ( #1081493=note: print w/replies, xml ) Need Help??

in reply to RPM Redhat

I have had great success using cpanspec, it's in fedora and epel so is sometimes easy to get on boxes in more restrictive environments.

Replies are listed 'Best First'.
Re^2: RPM Redhat
by SBECK (Chaplain) on Apr 09, 2014 at 16:46 UTC

    Since cpan2rpm and cpanspec came up, I'll toss in a suggestion too.

    Last year, I had to come up with a bunch of RPMs for a bunch of perl modules, and I didn't like either of these for a couple reasons:

    cpan2rpm is old, very little active support, doesn't work with modules that only use Module::Build, and in order to gain information about the module, it reads in the Makefile.PL, modifies it and execs it which is (at best) error prone.

    cpanspec assumes redhat conventions (though it would be easy to modify to remove those assumptions), and it relies on Makefile.PL or Build.PL being a very standard format as it parses them to get information about the module.

    I wanted something which would work for both redhat and OpenSuSE and would not rely on any assumptions about the form of the Makefile.PL or Build.PL, so I wrote cpantorpm. I used it to generate some 300+ module RPMs. I still consider it a bit rough around the edges, but it works, and will allow you to create RPMs that will install in any path you want.

    It's on cpan if you want to give it a try.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081493]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2023-09-24 03:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found