pmatilai 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. Also, it'd look strange for the purpose of defining macros, 
similar to heredoc.

And no, nesting `%{{}}` wont work :sweat_smile: 

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

Message ID: <rpm-software-management/rpm/pull/3677/c2768661...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to