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

Michael Schroeder notifications at github.com
Wed Aug 28 09:49:05 UTC 2019


Just to start the discussion, I wonder if support for `%{expr:<expr>?<true>}` and 
`%{expr:<expr>?<true>:<false>}` is too insane? If `<expr>/<true>/<false>` contains a '?' or ':' char you could  use `%{quote:}` as workaround. E.g.:
```
%{expr:%_include_minidebuginfo?%{quote:mini:true}:%{quote:mini:false}}
```

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


More information about the Rpm-maint mailing list