File obsoletesdeptag.diff of Package python3-rpm

--- ./lib/depends.c.orig	2012-08-28 13:38:20.000000000 +0000
+++ ./lib/depends.c	2012-08-28 13:38:31.000000000 +0000
@@ -455,7 +455,7 @@ static int rpmdbProvides(rpmts ts, depCa
 	mi = rpmtsPrunedIterator(ts, dbtag, Name, prune);
 	while ((h = rpmdbNextIterator(mi)) != NULL) {
 	    int match;
-	    if (dbtag == RPMDBI_OBSOLETENAME) {
+	    if (deptag == RPMDBI_OBSOLETENAME) {
 		match = rpmdsNVRMatchesDep(h, dep, _rpmds_nopromote);
 	    } else {
 		match = rpmdsMatchesDep(h, rpmdbGetIteratorFileNum(mi), dep,