dmnks left a comment (rpm-software-management/rpm#3677)
> %{heredoc} is kinda technically fine, but seems pretty for the expected most
> common usecase of defining a macro: "I'm defining a macro, not creating a
> heredoc!", whereas %{span} doesn't -probably because the latter is more
> abstract, in a good way for this purpose.
>
> %{literal} has a different meaning with rpm macros, they're something whose
> contents are _never_ expanded, but when used for defining a macro, it'll get
> expanded normally. (but, there's currently no way to define a literal macro
> from outside C) Also, it'd look strange for the purpose of defining macros,
> similar to heredoc.
Oh, I see now, thanks. And yup, "literal" actually means literal, i.e. no macro
expansion either, which indeed is not what we do here :sweat_smile:
> And no, nesting `%{{}}` wont work 😅
Ack, thought so :smile:
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3677#issuecomment-2768677579
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3677/c2768677...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint