]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
another REL_COMPAT special case
authorMichael Schroeder <mls@suse.de>
Thu, 19 Feb 2015 15:04:39 +0000 (16:04 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 19 Feb 2015 15:04:39 +0000 (16:04 +0100)
ext/testcase.c

index 717574aaec46563111360bbb791255e969002518..b4516015e24f4c9e4a8fe2d3d62b076207aba7d2 100644 (file)
@@ -406,7 +406,7 @@ testcase_dep2str_complex(Pool *pool, Id id, int addparens)
     {
       Reldep *rd2 = GETRELDEP(pool, rd->name);
       needparens = 1;
-      if (rd->flags > 7 && rd2->flags && rd2->flags <= 7)
+      if (rd->flags > 7 && rd->flags != REL_COMPAT && rd2->flags && rd2->flags <= 7)
        needparens = 0;
     }
   s = (char *)testcase_dep2str_complex(pool, rd->name, needparens);