[Rpm-maint] [rpm-software-management/rpm] Macro Language - tips, best reference ? (Discussion #2094)

Panu Matilainen notifications at github.com
Mon Jun 20 08:50:12 UTC 2022


> Where is the list of expressions that expr supports listed for v4.14.3 ?

v4.14.x doesn't *have* macro expressions. The issue is that macro-level expressions are a new thing only introduced in rpm 4.16. Prior to that, expressions were limited to %if conditionals in the spec language and to achieve something like that in the macro space, you'd have to write the is_enabled() macro with the [embedded Lua](https://rpm-software-management.github.io/rpm/manual/lua.html) interpreter. They are available all the way back to 4.4.x but recent versions have argument handling etc improvements that 4.14 doesn't have.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2094#discussioncomment-2984251
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2094/comments/2984251 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220620/07e8d7d1/attachment.html>


More information about the Rpm-maint mailing list