[HEADS UP] rpm-4.12.90 in rawhide

Michael Schroeder mls at suse.de
Tue Jul 28 13:15:04 UTC 2015


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 at redhat.com> 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 at suse.de
SUSE LINUX GmbH,           GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}


More information about the devel mailing list