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

James Olin Oden james.oden at gmail.com
Fri Feb 16 18:20:16 UTC 2007


On 2/16/07, Bill Nottingham <notting at redhat.com> wrote:
> R P Herrold (herrold at owlriver.com) said:
> > nope -- inside the .spec always wins presently
>
> Hm. At least with my patch, the order of precedence was:
>
> - --buildroot
> - %{buildroot} (set via macros, or commandline)
> - BuildRoot:
>
> I thought that was the behavior we were trying to preserve - didn't
> know it wasn't the current behavior.
>
Yes, this was a tangent, because:

   --define 'release blah1'

does not win.   Sorry for the tangent...it got pulled in with the read
only macros "solution" to build root ala JBJ



More information about the Rpm-maint mailing list