[HEADS UP] rpm-4.12.90 in rawhide
fweimer at redhat.com
Wed Jul 29 09:59:11 UTC 2015
On 07/29/2015 11:08 AM, Mikolaj Izdebski wrote:
> From C-style operators I would prefer single-character ones for two reasons:
> 1) Two-character operators may suggest short-circuit evaluation -
> "Requires: foo || bar" can be misunderstood as "require foo, or bar if
> and only if foo is not available", which is not how that works. There is
> no such problem with single-character operators. In other words,
> "|" and "&" operators are commutative, but "||" and "&&" are not.
> 2) Debian uses single-character operators. Cross-distro consistency and
> less confusion for people working on both Fedora and Debian is a plus.
1) and 2) contradict each other. In practice, “|“ in dependencies is
not commutative due to virtual packages and buildd installation choices.
Florian Weimer / Red Hat Product Security
More information about the devel