[Rpm-maint] [rpm-software-management/rpm] Usage of %end in macros breaks them (#401)
Igor Gnatenko
notifications at github.com
Mon Feb 26 12:09:11 UTC 2018
macros.foo
```
%xxx defined
%aaa %{?xxx:\
aaa\
}
%bbb %{?xxx:\
bbb\
}
```
```
⋊> ~ rpm --macros macros.foo --eval "%aaa" --eval "%bbb" 13:08:23
aaa
%bbb
```
If you move closing curly brace of `%aaa` definition to previous line, `%bbb` starts expanding too.
--
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/401#issuecomment-368480336
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180226/37337b3e/attachment.html>
More information about the Rpm-maint
mailing list