On Mon, Apr 11, 2016 at 01:39:00PM +0200, Michael Schroeder wrote: > Hmm, spoke too soon. I guess this is indeed a bug in rpm. It's true > that for > > Requires: (G if H) > > 'G' and '!H' is put in the index, so that 'rpm -q --whatrequires G' will > return 'richdep' and 'rpm -q --whatrequires !H' will also return richdep. > > But > > Requires: (G if H else I) > > is the same as > > Requires: (G if H) > Requires: (I or H) > > so *both* 'H' and '!H' need to be in the index. I.e., if we remove H we > need to make sure that I is installed and if we install H we need > to make sure that G is installed.
Fixed with commit 469553385ee766792529235a9e3c07efee14ba72 Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem