Re: Ho do you unpack compile a src.rpm

2002-03-14 Thread Trevor Hamm

On Thu, 2002-03-14 at 15:04, Kjetil Tjensvold wrote:
 How do you compile unpack a sr.rpm.
 rpm --rebuild --target i386 fil doesent work.
 

I think the --target option is expecting something of the form
i386-pc-linux-gnu. However, if you're rebuilding the source RPM on the
platform where you plan on installing, you shouldn't need the --target
option at all. This should be set to a reasonable default in
/usr/lib/rpm/macros.

-- 
Trevor Hamm



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Ho do you unpack compile a src.rpm

2002-03-14 Thread Gordon Messmer

On Thu, 2002-03-14 at 13:04, Kjetil Tjensvold wrote:
 How do you compile unpack a sr.rpm.
 rpm --rebuild --target i386 fil doesent work.

As of some time ago... the order of arguments matters with --rebuild.  I
believe you need to do:
rpm --target i386 --rebuild file





signature.asc
Description: This is a digitally signed message part


Re: Ho do you unpack compile a src.rpm

2002-03-14 Thread Manuel A. Camacho Q.

Well, I have a nice script that works. I called it rpmrb:
time rpm --rebuild --target i686 $1

so you just run rpmrb filename.src.rpm

(you can perfectly omitt time in the script)

-Manuel.

Gordon Messmer wrote:

 On Thu, 2002-03-14 at 13:04, Kjetil Tjensvold wrote:
 
How do you compile unpack a sr.rpm.
rpm --rebuild --target i386 fil doesent work.

 
 As of some time ago... the order of arguments matters with --rebuild.  I
 believe you need to do:
 rpm --target i386 --rebuild file
 
 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list