[Rpm-maint] [rpm-software-management/rpm] Implement %{body:...} built-in for retrieving the literal macro body (#1064)

Panu Matilainen notifications at github.com
Tue Feb 11 11:33:49 UTC 2020


pmatilai commented on this pull request.



> @@ -72,6 +72,7 @@ to perform useful operations. The current list is
 	%define ...	define a macro
 	%undefine ...	undefine a macro
 	%global ...	define a macro whose body is available in global context
+	%{body:...}	literal body of a macro

See the discussion in #582, the problem with %{verbatim:..} and other similar variants is that the argument is ambiguous, whereas the term "body" is unambiguous within rpm terminology, including the document in question. The description could be better, no disagreement there.

-- 
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/pull/1064#discussion_r377580861
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200211/acb325f7/attachment.html>


More information about the Rpm-maint mailing list