That's one helluva convoluted reproducer, hard to see the point in there.
Shortened it a bit, execute rpmbuild -bp to see :
```
%prep
%mymacro0
%mymacro1
echo "%bbb0 --- %bbb1"
```
But true, those %globals are "executed", and come to think of what happens
during the macro expansion, of course they are. Yet the %ifnarch -test in
%debug_package *does* work as intended, so there's some non-obvious interaction
there. Still, that macro does not need any fixing because it does what's is
supposed to.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/635#issuecomment-468302385
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint