Creating a link in RPM spec file

James Harrison jamesaharrisonuk at yahoo.co.uk
Mon May 10 23:12:40 UTC 2004


Hello,

Can anyone tell me how to make a softlink from inside an rpm spec file.  Im
using 
rpm version 4.2.

Ive looked at initscripts.spec rpm source file and in particular the ifup
command in etc.  I know its a link:

/etc/sysconfig/network-scripts/ifup -> ../../../sbin/ifup

In the spec file the %files line for it is:

/etc/sysconfig/network-scripts/ifup
%config /sbin/ifup

But how does the link get made?

Many thanks,

James Harrison


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 





More information about the redhat-list mailing list