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

pavlinamv notifications at github.com
Mon Aug 5 14:03:52 UTC 2019

> And how do you're supposed to know which spaces before and after the 0/1 are intentional or not? This must expand literally to either " 0 " or " 1".

According to the specification of triple operator - all spaces
- after '%{?!' or '%{?',
- before and after ':' that divides the operator and
- before the last '}'

till the first nonspace char must been omitted. This can be described in the commit message explicitly.

Packagers tend to use spaces before ':' in the current condition operator, even if "courtesy" 
spaces are not supported. In the current case spaces usually do not change the meaning of the spec file line and improve readability and alignment.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190805/d1ffcf5f/attachment.html>

More information about the Rpm-maint mailing list