[Rpm-maint] [rpm-software-management/rpm] Collapse unexpanded macro definitions (#1198) (#1343)

Panu Matilainen notifications at github.com
Tue Aug 25 08:03:17 UTC 2020


> +error: failed to stat //data/SPECS/ifmultiline-macro.spec: No such file or directory

Seems you forgot to add the new test-case spec to git.

Beyond that, I'm not sure. Technically %define and %global can appear anywhere at all in the spec, not just beginning of line, so this would create special behavior based on where in the spec it is. Another twist is that unlike %define, the body of the %global is expanded at the time of definition, which means that a %global macro defined in the spec itself with an %if in it is always broken.

-- 
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/pull/1343#issuecomment-679870773
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200825/292e4f39/attachment.html>


More information about the Rpm-maint mailing list