}
addrule(solv, what, 0); /* install by Id */
queue_push(&solv->ruletojob, i);
+ FOR_PROVIDES(p, pp, what)
+ if (pool->solvables[what].name == pool->solvables[p].name)
+ MAPSET(&noupdaterule, p);
break;
case SOLVER_ERASE_SOLVABLE:
addrule(solv, -what, 0); /* remove by Id */
pack++;
}
else if (istag ("VERSION"))
+ /* without a release? but that's like zypp implements it */
s->evr = makeevr(pool, value);
else if (istag ("DISTPRODUCT"))
- ; // DISTPRODUCT is only for Yast, not for the package manager
+ ; /* DISTPRODUCT is only for Yast, not the package manager */
else if (istag ("DISTVERSION"))
- ; // DISTVERSION is only for Yast
+ ; /* DISTVERSION is only for Yast, not the package manager */
else if (istag ("VENDOR"))
s->vendor = str2id(pool, value, 1);
else if (istag ("ARCH"))