[Rpm-maint] [rpm-software-management/rpm] Properly quote %sources and %patches (#1781)

Panu Matilainen notifications at github.com
Wed Sep 22 09:56:01 UTC 2021


> A macro will always see the macro expanded version of the parameter. Not sure if there is a way around that with the current macro system - especially as one needs to expand %{PATCH5} or what every hold the data in question at some point.

Macro arguments are expanded yes, but you need that anyway to get at that %{PATCH5}. Built-in's and Lua macros can control what happens beyond that. There's %{quote:...} for example already, so why not %{shquote:...}. Hmm, actually there's also :shescape query formatter already...

-- 
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/1781#issuecomment-924771076
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210922/825c489d/attachment-0001.html>


More information about the Rpm-maint mailing list