[Rpm-maint] [PATCH] rpmbuild: clean up buildroot handling, set a default buildroot

Tom 'spot' Callaway tcallawa at redhat.com
Tue Feb 13 18:17:11 UTC 2007


On Tue, 2007-02-13 at 12:10 -0500, Bill Nottingham wrote:
> Michael Schroeder (mls at suse.de) said: 
> > > Is having a default (rather than *no*) buildroot in that case behavior that
> > > we want to preserve?
> > 
> > IMHO yes, that's why there is a config file where local policies can
> > be set.
> 
> Hm, OK. If you want to go down that route, I'd move this definition to
> the stock macros file instead, just to make sure that things work
> out-of-the-box.

The reason why this needs to be set as a default in the rpm code is
because setting the buildroot as a system macro doesn't set both
%{buildroot} and $RPM_BUILD_ROOT (iirc).

~spot




More information about the Rpm-maint mailing list