[Rpm-maint] [rpm-software-management/rpm] The behavior of `%{?builtin_macro:foo}` is unclear from documentation (Issue #1866)

Panu Matilainen notifications at github.com
Fri Dec 17 08:39:24 UTC 2021


> In case of the load builtin, the behavior of %{?load:foo} is significantly different to %{load:foo}

And yeah, it is. It's unfortunate that builtin macros used : as an argument separator. In >= 4.17 you can generally use a macro without having to care whether its built-in or user-defined, eg "%load foo" will try to load file "foo" as you'd expect. There are some inconsistencies left in 4.17.0 at least but eliminating the pointless differences between builtins and other macros is the reason for this all.

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

Message ID: <rpm-software-management/rpm/issues/1866/996535063 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211217/0c54e1c9/attachment.html>


More information about the Rpm-maint mailing list