Before this commit it worked like pool_mark_retracted_packages,
which is also something that we might need in the future.
For now, limit the search to the specified repo. This change
does nothing for the only use case that we currently have,
namely the repo2solv tool.
Queue q;
queue_init(&q);
- for (p = 1; p < pool->nsolvables; p++)
+ FOR_REPO_SOLVABLES(repo, p, s)
{
const char *status;
s = pool->solvables + p;
else if (q.elements[i + 1] == retractedname && q.elements[i + 2] == retractedevr)
{
s = pool->solvables + q.elements[i];
- s->provides = repo_addid_dep(repo, s->provides, retractedmarker, 0);
+ s->provides = repo_addid_dep(s->repo, s->provides, retractedmarker, 0);
}
}
queue_free(&q);