[Rpm-maint] [rpm-software-management/rpm] rpm expands macro args twice (#217)

Michael Schroeder notifications at github.com
Wed May 17 11:40:48 UTC 2017


If you have a
```
%foo() %1
```
macro, `rpm --eval "%{foo xx%%%%}"` used to print `xx%%`, but now just prints `xx%`. This is because commit 5adc56897b9da5dac49701f704ef54390db57c59 added an extra expansion call.

I think that all % characters need to be replaced by %% after the expansion or some similar fix.

-- 
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/issues/217
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170517/cc0fd5a0/attachment.html>


More information about the Rpm-maint mailing list