]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix pool_whatmatchesdep's SOLVABLE_NAME hack
authorMichael Schroeder <mls@suse.de>
Mon, 19 Dec 2022 14:51:41 +0000 (15:51 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 19 Dec 2022 14:51:41 +0000 (15:51 +0100)
src/pool.c

index 54226e9a0867ba2e2ab16c7d170eb42186b1a668..45e85eac48c623d54cfdde1453a251b217a01b26 100644 (file)
@@ -1461,7 +1461,7 @@ pool_whatmatchesdep(Pool *pool, Id keyname, Id dep, Queue *q, int marker)
     {
       Id pp;
       FOR_PROVIDES(p, pp, dep)
-        if (pool_match_dep(pool, p, dep))
+        if (pool_match_nevr(pool, pool->solvables + p, dep))
          queue_push(q, p);
       return;
     }