aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-10-15 16:13:00 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-10-15 16:13:00 +0000
commitb89b76994aa0f04f509ecb5dd98d6c98dcda2e1e (patch)
tree091c22d2aaf89933d5c9bca1acae2d5cfebeb937 /URPM.xs
parent673bd0ca312d2377a742ea90daad1a91612a3ab7 (diff)
downloadperl-URPM-b89b76994aa0f04f509ecb5dd98d6c98dcda2e1e.tar
perl-URPM-b89b76994aa0f04f509ecb5dd98d6c98dcda2e1e.tar.gz
perl-URPM-b89b76994aa0f04f509ecb5dd98d6c98dcda2e1e.tar.bz2
perl-URPM-b89b76994aa0f04f509ecb5dd98d6c98dcda2e1e.tar.xz
perl-URPM-b89b76994aa0f04f509ecb5dd98d6c98dcda2e1e.zip
fix to build with rpm 5.3 api
Diffstat (limited to 'URPM.xs')
-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) {