Nick Rout wrote:

I want to build a binary rpm from a source rpm, without installing the
binaries on the system, ie I don't want to risk mucking up my existing
installation of the earlier version of same package.


all of the rpm -b options seem to want to build, install, then package.
I want to just build then package,


anyone know how to do this?

my reference for all this is here:

http://www.rpm.org/max-rpm/ch-rpm-b-command.html




Try something like
$rpmbuild --rebuild --target=athlon file.src.rpm
and find the result in /usr/src/redhat/RPMS/
I had great plans to optimise redhat once :)

Col



Reply via email to