|
Loading...
|
rpm-list@redhat.com
[Prev] Thread [Next] | [Prev] Date [Next]
Re: File listed twice Mikael Fridh Wed Sep 03 02:01:12 2008
On Tue, Sep 02, 2008 at 06:59:24PM -0400, Jeffrey Sherwin wrote: > I have attached the file as is. Please have a look. > > I understand that I am not supposed to build as root, but I am not sure > how I create the relevant symlinks if I don't. > A symlink is just a file. Create the symlink in your %install section and reference it in your %files section. Getting the links right requires some careful thinking though. %install ln -s foo.so.1 $RPM_BUILD_ROOT/usr/local/foo.so %files /usr/local/foo.so.1 /usr/local/foo.so Result: /usr/local: foo.so -> foo.so.1 Regarding your other issues, I think if you read what we all sent you privately earlier, you will understand that you've misunderstood rpm completely, especially what %install means. You're better off just writing a script, because that's what you're using your specfile for right now. -- Fridh _______________________________________________ Rpm-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/rpm-list
- Re: File listed twice, (continued)
- Re: File listed twice Jeffrey Sherwin 2008/09/01
- Re: File listed twice Valery Reznic 2008/09/01
- RE: File listed twice Jeffrey Sherwin 2008/09/01
- Re: File listed twice Michael Jennings 2008/09/01
- RE: File listed twice Jeffrey Sherwin 2008/09/01
- RE: File listed twice Jeffrey Sherwin 2008/09/01
- Re: File listed twice Bob Proulx 2008/09/01
- RE: File listed twice Jeffrey Sherwin 2008/09/01
- Re: File listed twice Mikael Fridh 2008/09/02
- RE: File listed twice Jeffrey Sherwin 2008/09/02
- Re: File listed twice Mikael Fridh 2008/09/03 <=
Re: File listed twice Jeffrey Sherwin 2008/09/01 Re: File listed twice Stanley, Jon 2008/09/01