aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-03-22 21:32:14 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-03-22 21:32:14 +0000
commit79b0d99bb642d4b25eea8b31b76bba9e5e71c4db (patch)
treedbae3f9296a333bd9a2fa30f479507760251885a
parent043931b9bfa5a259fb193f5ffeff5907eb2d8d45 (diff)
downloadperl-URPM-79b0d99bb642d4b25eea8b31b76bba9e5e71c4db.tar
perl-URPM-79b0d99bb642d4b25eea8b31b76bba9e5e71c4db.tar.gz
perl-URPM-79b0d99bb642d4b25eea8b31b76bba9e5e71c4db.tar.bz2
perl-URPM-79b0d99bb642d4b25eea8b31b76bba9e5e71c4db.tar.xz
perl-URPM-79b0d99bb642d4b25eea8b31b76bba9e5e71c4db.zip
remap rpm5 suggests when adding packages to transaction
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index a4ca2da..ee3a97d 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3311,6 +3311,7 @@ Trans_add(trans, pkg, ...)
if(headerIsEntry(pkg->h, RPMTAG_DISTEPOCH)) {
pretend_distepoch(pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIREVERSION);
}
+ remap_suggests(pkg->h);
RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(long)(pkg->flag & FLAG_ID)), update, relocations) == 0;