[Rpm-maint] [rpm-software-management/rpm] RFE: Add shorthand syntax for default macro values (#1756)

Panu Matilainen notifications at github.com
Tue Aug 17 10:20:56 UTC 2021


A common use-case with macros is wanting to fallback to a default value if the macro in question doesn't exist, eg "use value of %foo if defined, or 5 otherwise". This seems unnecessarily clumsy in the current macro implementation: `%{?foo}%{!?foo:5}` and the new expression stuff doesn't seem to help here.

-- 
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/1756
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210817/956be637/attachment.html>


More information about the Rpm-maint mailing list