[Rpm-maint] [rpm-software-management/rpm] Triple operator for conditional shortcut (#115)

Michael Schroeder notifications at github.com
Wed Aug 28 11:41:10 UTC 2019


Support for ? :in the expression parser has the addition bonus that it resolves the "whitespace stripping" discussion:
```
%{expr: 0%?_include_minidebuginfo ? "mini:true" : "mini:false" }
```

Also note that the expr parser already has a (somewhat insane) macro expansion feature:
```
%{expr: ix86}
```

-- 
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/115#issuecomment-525706629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190828/27e2e711/attachment.html>


More information about the Rpm-maint mailing list