Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: RPM Redhat

by SBECK (Chaplain)
on Apr 09, 2014 at 16:46 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found