On Thu, 10 Jan 2002, ABrady wrote:

>
> Shorter:
>
> On RH7.0 and earlier:
>
> rpm --rebuild <filename>.src.rpm --target=<arch>
> rpm -Uvh /usr/src/redhat/RPMS/<arch>/<filename>.<arch>.rpm
>
> On RH7.1/72:
>
> rpmbuild --rebuild <filename>.src.rpm --target <arch>
> rpm -Uvh /usr/src/redhat/RPMS/<arch>/<filename>.<arch>.rpm
>
> In both cases, 'target' can be left out to build i386. Noarch will be
> automatically built when X86 or athlon isn't supported.
>
> Replace <arch> with i386, i486, i586, i686, athlon or noarch.
>


Absolutely right.  I just added my longer version because it also allows you
to manipulate the source code, change the SPEC file, etc.  Otherwise, simply
running with the "--rebuild" option does the job.



-- 
Nitebirdz

Mozilla--> http://www.mozilla.org
Linux XFS--> http://oss.sgi.com/projects/xfs



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

Reply via email to