Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Create an RPM for custom compiled Perl ?

by codiac (Beadle)
on May 16, 2015 at 11:34 UTC ( [id://1126852] : note . print w/replies, xml ) Need Help??


in reply to Create an RPM for custom compiled Perl ?

At the end of rpm build scripts are run to automatically add requires and provides that aren't explicit, it happens for a lot of languages. If you think it's wrong the you can tweak your spec file to override these scripts or specifically exclude things you know if will get wrong.

https://fedoraproject.org/wiki/EPEL:Packaging_Autoprovides_and_Requires_Filtering#Perl

In this case you'd want to use the __requires_exclude filter.

P.S. if you are compiling your own perl simply to get a newer perl you might look at software collections, which includes perl 5.16 http://wiki.centos.org/AdditionalResources/Repositories/SCL

  • Comment on Re: Create an RPM for custom compiled Perl ?