projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support -X option in rpmmd2solv, make add_autopattern available in bindings
[platform/upstream/libsolv.git]
/
src
/
cplxdeps.c
diff --git
a/src/cplxdeps.c
b/src/cplxdeps.c
index
edb7cf8
..
9e42194
100644
(file)
--- a/
src/cplxdeps.c
+++ b/
src/cplxdeps.c
@@
-245,6
+245,8
@@
normalize_dep(Pool *pool, Id dep, Queue *bq, int todnf)
dp = pool_whatprovides(pool, dep);
if (dp <= 2 || !pool->whatprovidesdata[dp])
return dp == 2 ? 1 : 0;
+ if (pool->whatprovidesdata[dp] == SYSTEMSOLVABLE)
+ return 1;
if (todnf)
{
for (; pool->whatprovidesdata[dp]; dp++)