if (ps->name != s->name)
continue;
MAPSET(&solv->dupinvolvedmap, pi);
- if (ps->repo == installed && solv->obsoletes && solv->obsoletes[pi - installed->start])
+ if (targeted && ps->repo == installed && solv->obsoletes && solv->obsoletes[pi - installed->start])
{
Id *opp, pi2;
for (opp = solv->obsoletes_data + solv->obsoletes[pi - installed->start]; (pi2 = *opp++) != 0;)
if (pool->obsoleteusescolors && !pool_colormatch(pool, s, ps))
continue;
MAPSET(&solv->dupinvolvedmap, pi);
- if (ps->repo == installed && solv->obsoletes && solv->obsoletes[pi - installed->start])
+ if (targeted && ps->repo == installed && solv->obsoletes && solv->obsoletes[pi - installed->start])
{
Id *opp, pi2;
for (opp = solv->obsoletes_data + solv->obsoletes[pi - installed->start]; (pi2 = *opp++) != 0;)