Rpmbuild question

Bob Holtzman holtzm at sonic.net
Fri Aug 27 01:03:47 UTC 2004


On Thu, 26 Aug 2004, Paul Howarth wrote:

> Thomas E. Dukes wrote:
> > Oooops, one more question.  :-)
> > 
> > If I just rebuilt the source rpm, then I guess I need to build a binary
> > package after I install the newly rebuilt source package, right?
> 
> Nope; if you "rpmbuild --rebuild" a src.rpm package you'll just get the binary 
> packages built on your system, no new src.rpm. It would be equivalent to 
> "rpmbuild -bb specfile". If you do "rpmbuild -ba specfile" you'll get a new 
> src.rpm but unless you've edited the specfile, it won't have any significant 
> differences to the src.rpm you started with.

I assume that, since rpmbuild is run against the src.rpm file, the src.rpm 
file doesn't get installed thereby splitting off the .spec file. Is this 
correct?

-- 
Bob Holtzman
"If you think you're getting free lunch,
 ......check the price of the beer!"





More information about the fedora-list mailing list