Re: Creating a link in RPM spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It doesnt appear to make it with my rpm spec. Heres an extract:

%install
mkdir /opt/OpenPBS
mkdir /opt/OpenPBS/2.3.16
ln -s /opt/OpenPBS/2.3.16 /opt/OpenPBS/latest

cd $RPM_BUILD_DIR/OpenPBS_2_3_16
make install

cd /usr/src/redhat/BUILD/OpenPBS_2_3_16/doc
make install

The ln -s command does not make the link. I forgot to mention that this spec
file makes about 5 RPMs. It makes a server, man, devel, xpbs, xpbsmon rpm.

Which RPM does the %install section refer to?

Thanks

James

--- Michael Schwendt <fedora@xxxxxxxxxxxxxxxxx> wrote:
> On Mon, 10 May 2004 16:12:40 -0700 (PDT), James Harrison wrote:
> 
> > 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?
> 
> You can create it in the %install section.
>  
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list



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


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux