On Tue, Jul 28, 2015 at 07:37:05AM -0400, Neal Gompa wrote: > On Tue, Jul 28, 2015 at 5:37 AM, Florian Festi <ffesti@xxxxxxxxxx> wrote: > > Unfortunately there is no consensus among the other packaging formats > > what to use. Right now rpm accepts 3 different styles: > > * AND OR IF ELSE > > * & | ? : > > * && || ? : > > ???Is there a reason why we can't maintain all three kinds? Also, why in the > world are bitwise operation operators supported for logical operations? I'd > be okay with maintaining options 1 and 3, to be honest. ??? I allowed '|' and '&' to be somewhat compatible to Debian, which already uses '|' in the dependencies. And there's IF and THEN/ELSE. IF is a postfix op, like in perl and ruby: Requires: a IF b THEN/ELSE is the infix one: Requires: b THEN a Requires: b ? a Requires: b THEN a ELSE c Requires: b ? a : c Cheers, Michael. -- Michael Schroeder mls@xxxxxxx SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct