Fedora 10 packaging help required

Julian Field MailScanner at ecs.soton.ac.uk
Tue Jan 6 12:11:05 GMT 2009


I've got a problem caused by Fedora 10.
They have changed the RPM build structure so that RPMs now build under 
~/rpmbuild instead of /usr/src/redhat. But that's not the problem.

The problem is that the site_perl directory is now under 
/usr/local/lib/perl5 and not /usr/lib/perl5. But if you specify a 
"PREFIX" in the call to Makefile.PL to generate the Makefile, like I 
always have done, then the perl-site-specific directories are set wrong, 
it leaves them under /usr/lib/perl5.

What I need to know is how I can build the perl module in a BUILDROOT 
directory (so just building it can't over-write any existing files), 
while getting all the site-specific stuff correct that has changed in 
Fedora 10.

I have read the man page for ExtUtils::MakeMaker and have tried all 
sorts of things, but it won't get it right with just a few options to 
"perl Makefile.PL".

Any Fedora 10 experts out there who know how to do this?

The only perl modules I have looked at on the Fedora 10 project site 
have hideously complicated spec files, and I'm not at all confident that 
a total rewrite of all my spec files is either (a) warranted, or (b) not 
going to break compatibility with previous OSs.

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list