Nick Rout wrote:

On Thu, 22 Jan 2004 15:47:27 +1300
Col <[EMAIL PROTECTED]> wrote:



Nick Rout wrote:



On Thu, 22 Jan 2004 12:57:17 +1300
Col <[EMAIL PROTECTED]> wrote:





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





yeah but that installs it as well (I think)




$rpm -qa | grep testfilefrompreviouspost
shows that it's not installed.



from man rpm:


rpm {--rebuild|--recompile} SOURCEPKG ...

When invoked this way, rpm installs the named source package, and does
a prep, compile and install. In addition, --rebuild builds a new
binary package. When the build has completed, the build directory is
removed (as in --clean) and the the sources and spec file for the pack-
age are removed.


Sorry. It looks like it depends on whats in the %install section of the spec file embedded
in the source rpm.



Col.




Reply via email to