[Rpm-ecosystem] Fwd: [Rpm-maint] Fixing macro scoping

Panu Matilainen pmatilai at laiskiainen.org
Fri Feb 3 12:35:31 UTC 2017

On 02/03/2017 02:22 PM, Neal Gompa wrote:
> Sorry if I sound stupid about this, but I've read this email at least
> four times now, and I'm still not quite sure what you're trying to
> describe...

Right, quite possibly the question got lost in the rpm internals 

So forget the all the technical mumbling about scoping levels etc for 
now. What would you expect the following snippet to output (full 
reproducer spec is at https://bugzilla.redhat.com/show_bug.cgi?id=552944)?

%{!?foo: %define foo bar}
%define dofoo() true
echo 1: %{foo}
echo 2: %{foo}

	- Panu -

More information about the Rpm-ecosystem mailing list