}
static void appendProblem(rpmte te, rpmProblemType type,
- const char * pkgNEVR, fnpyKey key, const char * altNEVR,
+ fnpyKey key, const char * altNEVR,
const char * str, uint64_t number)
{
rpmProblem o;
- rpmProblem p = rpmProblemCreate(type, pkgNEVR, key, altNEVR, str, number);
+ rpmProblem p = rpmProblemCreate(type, te->NEVRA, key, altNEVR, str, number);
rpmpsi psi = rpmpsInitIterator(te->probs);
/* Only add new, unique problems to the set */
const char *altNEVR, const char *str, uint64_t number)
{
if (te != NULL) {
- appendProblem(te, type, rpmteNEVRA(te), rpmteKey(te),
- altNEVR, str, number);
+ appendProblem(te, type, rpmteKey(te), altNEVR, str, number);
}
}
case 'R': type = RPMPROB_REQUIRES; break;
}
- appendProblem(te, type, rpmteNEVRA(te), key, altNEVR, DNEVR+2, adding);
+ appendProblem(te, type, key, altNEVR, DNEVR+2, adding);
}
}