[Rpm-maint] [rpm-software-management/rpm] %global macros cannot be parametric, should raise an error (Issue #2910)

Panu Matilainen notifications at github.com
Tue Jun 25 10:06:37 UTC 2024


On a second thought...

One *can* escape all the macro expansions in a %global body to make it behave like a %define, except for the scope. So making it an error would make it impossible to define a parametric macro from inside another, which is probably a rare case to begin with, but maybe documenting it is more useful than denying.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2910#issuecomment-2188498448
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2910/2188498448 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240625/9f369d46/attachment-0001.html>


More information about the Rpm-maint mailing list