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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to