Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: RPM Redhat

by SBECK (Hermit)
on Apr 09, 2014 at 16:46 UTC ( #1081692=note: print w/replies, xml ) Need Help??


in reply to Re: RPM Redhat
in thread RPM Redhat

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-10-20 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (208 votes). Check out past polls.

    Notices?