summaryrefslogtreecommitdiff
path: root/src/policy.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-06-04 13:18:33 +0200
committerMichael Schroeder <mls@suse.de>2013-06-04 13:18:33 +0200
commitee3a248c51e0189eeacafaf3a27fc1571af04253 (patch)
tree8c385e66b6bf5eba92df683dfe742b295aa694c0 /src/policy.c
parentc63a0c9ce78bf828e91508981608f7973ac7b1a5 (diff)
downloadlibsolv-ee3a248c51e0189eeacafaf3a27fc1571af04253.tar.gz
libsolv-ee3a248c51e0189eeacafaf3a27fc1571af04253.tar.bz2
libsolv-ee3a248c51e0189eeacafaf3a27fc1571af04253.zip
add POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS to match the current rpm behaviour
Sigh. I hope that's the last time rpm changes the way it handles obsoletes.
Diffstat (limited to 'src/policy.c')
-rw-r--r--src/policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/policy.c b/src/policy.c
index 915c865..c3385d8 100644
--- a/src/policy.c
+++ b/src/policy.c
@@ -871,6 +871,7 @@ policy_findupdatepackages(Solver *solv, Solvable *s, Queue *qs, int allow_all)
ps = pool->solvables + p;
if (s->name == ps->name) /* name match */
{
+ /* XXX: check implicitobsoleteusescolors? */
if (!allowdowngrade && pool_evrcmp(pool, s->evr, ps->evr, EVRCMP_COMPARE) > 0)
continue;
}