summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-25 13:00:03 +0100
committerMichael Schroeder <mls@suse.de>2014-03-25 13:00:03 +0100
commite29db2863f649eefe33591d252ac3e4de69e9306 (patch)
treea8053bb10a9d3036ca17534e432bfb8ccf3aa513 /src
parenta9d2523ba9c53490d28a0c164ede5a779aedd365 (diff)
downloadlibsolv-e29db2863f649eefe33591d252ac3e4de69e9306.tar.gz
libsolv-e29db2863f649eefe33591d252ac3e4de69e9306.tar.bz2
libsolv-e29db2863f649eefe33591d252ac3e4de69e9306.zip
cplxdeps: special case SYSTEMSOLVABLE
Diffstat (limited to 'src')
-rw-r--r--src/cplxdeps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cplxdeps.c b/src/cplxdeps.c
index edb7cf8..9e42194 100644
--- 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++)