From eb10f05b8587e931bd261e99241cac2b8649d4dc Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 8 Nov 2001 22:04:35 +0000 Subject: - rip out rpmDependencyConflict, replace with rpmProblem instead. CVS patchset: 5162 CVS date: 2001/11/08 22:04:35 --- python/rpmmodule.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python') diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 63b2a7237..8f031d791 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -1356,7 +1356,7 @@ static PyObject * rpmtransRemove(rpmtransObject * s, PyObject * args) { /** \ingroup python */ static PyObject * rpmtransDepCheck(rpmtransObject * s, PyObject * args) { - rpmDependencyConflict conflicts, c; + rpmProblem conflicts, c; int numConflicts; PyObject * list, * cf; int i; @@ -1388,15 +1388,15 @@ static PyObject * rpmtransDepCheck(rpmtransObject * s, PyObject * args) { c = conflicts + i; - byName = c->byNEVR; + byName = c->pkgNEVR; if ((byRelease = strrchr(byName, '-')) != NULL) *byRelease++ = '\0'; if ((byVersion = strrchr(byName, '-')) != NULL) *byVersion++ = '\0'; - key = c->suggestedKeys[0]; + key = c->key; - needsName = c->needsNEVR; + needsName = c->altNEVR; if (needsName[1] == ' ') { sense = (needsName[0] == 'C') ? RPMDEP_SENSE_CONFLICTS : RPMDEP_SENSE_REQUIRES; -- cgit v1.2.3