Displaying 1 result from an estimated 1 matches for "cpanmin".
Did you mean:
cpadmin
2016 May 12
3
RPM perl requirements woes
Dear CentOS hive mind,
I'm trying to package up a perl module into an RPM for easy deployment.
I want it to be as self-contained as possible (to avoid version issues
with perl modules in base or EPEL). So in my spec file, I'm doing:
curl -L http://cpanmin.us | perl - App::cpanminus -L
%{buildroot}/opt/zonemaster Zonemaster
This way, cpanminus is installed first, and then it goes on to install
the module and all its dependencies. In the %files section, if I do:
/opt/zonemaster
the RPM is also neatly packaged up. However, trying to install this on...