aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index fed0af4..d4f500b 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3109,7 +3109,7 @@ Trans_remove(trans, name)
*boa = '.'; boa = NULL;
}
}
- mi = rpmtsInitIterator(trans->ts, RPMDBI_LABEL, name, 0);
+ mi = rpmtsInitIterator(trans->ts, RPMTAG_NVRA, name, 0);
while ((h = rpmmiNext(mi))) {
unsigned int recOffset = rpmmiInstance(mi);
if (recOffset != 0) {