[Rpm-maint] [rpm-software-management/rpm] Inconsistent macro expansion (Issue #1798)
Michael Schroeder
notifications at github.com
Mon Oct 18 13:04:30 UTC 2021
Rpm's %define implementation is so weird:
```
$ rpm --eval '%define foo bar\baz' --eval '%foo'
barbaz
$ rpm --eval '%define foo {bar\baz}' --eval '%foo'
bar\baz
```
I saw that you added support for a "programmatic" case where the macro name is one arg and the body is the second arg. Should rpm copy over the body verbatim or should it do all the nasty mangling it currently does?
--
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/1798#issuecomment-945744927
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211018/dc8cd6d8/attachment.html>
More information about the Rpm-maint
mailing list