Re: Installing during rebuild

Jos Vos <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Wed, Oct 17, 2007 at 10:29:53AM -0700, Wyse, Chris wrote:

> Is there a way to prevent the rpmbuild of the source rpm from performing
> the installation?  My install section is executed during rpmbuild - I
> really only want the installation done when I install the binary rpm.
> Am I missing something or doing something wrong (or both)?

Both :-).

%instal is for installing in the temporary buildroot (BuildRoot: ...)
and the contents of that directory are used to collect the files for
the binary rpm (as listed in %files).

-- 
--    Jos Vos <[email protected]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.