diff options
author | Michael Schroeder <mls@suse.de> | 2013-06-05 12:33:06 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-06-05 12:33:06 +0200 |
commit | 519fb70bdddc94563954f3331cd1a23b76c09b56 (patch) | |
tree | 456d0780c37318409c86d32efaed14c2e4efaca6 /src | |
parent | 9156031dfe67432eabef27b98fc11fd60ffcb936 (diff) | |
download | libsolv-519fb70bdddc94563954f3331cd1a23b76c09b56.tar.gz libsolv-519fb70bdddc94563954f3331cd1a23b76c09b56.tar.bz2 libsolv-519fb70bdddc94563954f3331cd1a23b76c09b56.zip |
solver_splitprovides: only check lazywhatprovides when the pool->whatprovides entry is zero
Otherwise splitprovides don't work when standard file locations are used.
Diffstat (limited to 'src')
-rw-r--r-- | src/solver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver.c b/src/solver.c index 052c834..12c91e0 100644 --- a/src/solver.c +++ b/src/solver.c @@ -65,7 +65,7 @@ solver_splitprovides(Solver *solv, Id dep) * for installed packages and check the lazywhatprovidesq (ignoring the REL_WITH part, but * we filter the package name further down anyway). */ - if (pool->addedfileprovides == 1 && !ISRELDEP(rd->evr)) + if (pool->addedfileprovides == 1 && !ISRELDEP(rd->evr) && !pool->whatprovides[rd->evr]) pp = pool_searchlazywhatprovidesq(pool, rd->evr); else pp = pool_whatprovides(pool, dep); |