R P Herrold ([EMAIL PROTECTED]) said: 
> [EMAIL PROTECTED] buildroot]$ rpmbuild -ba dummy-buildroot.spec  \
>       2>&1 | grep 'ACME'
> + echo 'ACME  /var/tmp/spot  '
> ACME  /var/tmp/spot
> [EMAIL PROTECTED] buildroot]$ rpmbuild -ba \
>       --define 'buildroot /var/tmp/herrold' \
>       dummy-buildroot.spec 2>&1 | grep 'ACME'
> + echo 'ACME  /var/tmp/spot  '
> ACME  /var/tmp/spot
> [EMAIL PROTECTED] buildroot]$

Ignore my other message, I misread. So, what's going on here is
the order of precedence of macro evaluation - iirc, it's system,
commandline, then spec file. This I suppose is the genesis of
JBJ's patch for the .<macro> namespace, but I'm not sure it's
necessary for this, as this behavior is pretty much expected
for macros (and needed so packages can override everything from
%{version} to %{_bindir}).

Bill
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to