]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix REL_EQ for conda, it's "==" and not "="
authorMichael Schroeder <mls@suse.de>
Wed, 27 Mar 2019 12:20:32 +0000 (13:20 +0100)
committerMichael Schroeder <mls@suse.de>
Wed, 27 Mar 2019 12:20:32 +0000 (13:20 +0100)
"=" is a fuzzy match.

src/poolid.c

index 1312ab9cf5cac27572423089a133b0b0db4a453b..ef0d95d418ed6585a2a8ef458ca866f45737bdcc 100644 (file)
@@ -172,7 +172,7 @@ pool_id2rel(const Pool *pool, Id id)
 #ifdef ENABLE_CONDA
   if (pool->disttype == DISTTYPE_CONDA)
     {
-      static const char *condarels[] = { "!", ">", "=", ">=", "<", "!=", "<=", "<=>" };
+      static const char *condarels[] = { "!", ">", "==", ">=", "<", "!=", "<=", "<=>" };
       if (rd->flags < 8)
         return condarels[rd->flags];
       if (rd->flags == REL_WITH)