> 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.

First of all then, don't build as root.  A badly written
spec file could install over the top of your currently
installed files.  Have a look at
http://freshrpms.net/docs/fight/  Yes, it is regarding
making rpm .spec files from scratch, but have a look at the
section regarding creating ~/.rpmmacros and create the rpm
building directories and build rpms it the safe way.

> 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?

I take it this is rpm 3.x rather than 4.x?  I don't
remember, but wasn't the --rebuild option there even back
then?  Unfortunatley I don't have access to an older version
of rpm to check.

Regards

Daniel

Reply via email to