On Sat, 09 Sep 2000, Gordon Messmer wrote:
> On Sat, 9 Sep 2000, Isaiah Weiner wrote:
> 
> > rpm.org has an rpm-howto, but the simplest way is
> > 
> >     rpm -i file.src.rpm
> >     cd /usr/src/redhat/SPECS
> >     rpm -bb file.spec
> >     rpm -U ../RPMS/i386/file.i386.rpm
> 
> Wouldn't the "simplest" way be more like:
>       rpm --rebuild file.src.rpm
> 
IIRC, that'll only create the .i386.rpm file. You'll
probably need to do an "rpm --rebuild --target=i386, i586,
i686 <rpmname>.src.rpm. I don't even know if you can
specify multiple processor types on one line. If that
fails, though, you can always re-run the rpm --rebuild with
a different target each time.

The resulting rpm files will be in
/usr/src/redhat/RPMS/<processor>
        John



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

Reply via email to