Help!

rpmbuild --rebuild

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  smart update - problem mit xine-lib-File ...  
Author Message
Yakov
External


Since: Jul 22, 2007
Posts: 1



PostPosted: Sun Jul 22, 2007 10:17 am    Post subject: rpmbuild --rebuild
Archived from groups: linux>redhat>rpm (more info?)

Which option of 'rpmbuild --rebuilt' tells it not to erase
sources and objects in the end ?
Thanks
Yakov
Back to top
Michal Jaegermann
External


Since: Jun 06, 2004
Posts: 62



PostPosted: Sun Jul 22, 2007 5:53 pm    Post subject: Re: rpmbuild --rebuild [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yakov <iler.ml DeleteThis @gmail.com> wrote:
> Which option of 'rpmbuild --rebuilt' tells it not to erase
> sources and objects in the end ?

'rpmbuild --rebuild' (not "--rebuilt") is documented as follows
(see 'man rpmbuild'):

rpmbuild --rebuild|--recompile SOURCEPKG ...

When invoked this way, rpmbuild 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
package are removed.

so it does exactly what was promissed. If you do not want this
"in addition" part then use "--recompile" instead of "--rebuild".

If you want to end up with new binary packages as well then
install your src.rpm and do 'rpmbuild -ba desired.spec'.

Michal
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum