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

Panu Matilainen notifications at github.com
Wed Aug 28 10:21:24 UTC 2019


My general idea has been that %{expr:...} is strictly for evaluating expressions into strings, and that a different syntax would be used for boolean evaluation, something along the lines of
```%{(<expr>)?<true>:<false>}``` but haven't given the syntax details too much thought.

Adding support for ```? :```in the expression parser is certainly a possibility as well.

-- 
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-525681191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190828/8cbc822c/attachment.html>


More information about the Rpm-maint mailing list