diff options
author | jbj <devnull@localhost> | 2001-11-08 22:04:35 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-08 22:04:35 +0000 |
commit | eb10f05b8587e931bd261e99241cac2b8649d4dc (patch) | |
tree | 13cb226632a5a71ec17723e78f0e8d18dee12242 /python | |
parent | 0467af9ab587ca2f8bcb376d53a30d7857d7809a (diff) | |
download | librpm-tizen-eb10f05b8587e931bd261e99241cac2b8649d4dc.tar.gz librpm-tizen-eb10f05b8587e931bd261e99241cac2b8649d4dc.tar.bz2 librpm-tizen-eb10f05b8587e931bd261e99241cac2b8649d4dc.zip |
- rip out rpmDependencyConflict, replace with rpmProblem instead.
CVS patchset: 5162
CVS date: 2001/11/08 22:04:35
Diffstat (limited to 'python')
-rw-r--r-- | python/rpmmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |