summaryrefslogtreecommitdiff
path: root/python/rpmmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r--python/rpmmodule.c8
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;