Re: Specifying soft links in RPM package

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

 



On Wed, Jun 02, 2004 at 02:46:10PM -0500, Kamal Hussain wrote:

> You are right. As you said, only the symbolic link is put in the 
> package. For the SVR4 to RPM conversion, I guess the links need to be 
> constructed under the BuildRoot before calling 'rpmbuild'. This is 
> little troublesome but manageable.

Well, they should be created in the %install section of the spec file
(I guess you convert a SVR4 specification to a RPM spec file):

%install
...
fill the buildroot with real files
...

ln -s test $RPM_BUILD_ROOT/usr/bin/test1
ln -s test $RPM_BUILD_ROOT/usr/bin/test2

(or something similar)

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux