diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-25 13:00:03 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-25 13:00:03 +0100 |
commit | e29db2863f649eefe33591d252ac3e4de69e9306 (patch) | |
tree | a8053bb10a9d3036ca17534e432bfb8ccf3aa513 /src | |
parent | a9d2523ba9c53490d28a0c164ede5a779aedd365 (diff) | |
download | libsolv-e29db2863f649eefe33591d252ac3e4de69e9306.tar.gz libsolv-e29db2863f649eefe33591d252ac3e4de69e9306.tar.bz2 libsolv-e29db2863f649eefe33591d252ac3e4de69e9306.zip |
cplxdeps: special case SYSTEMSOLVABLE
Diffstat (limited to 'src')
-rw-r--r-- | src/cplxdeps.c | 2 |
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++) |