aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-03-22 20:55:55 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-03-22 20:55:55 +0000
commitf2e2bbd3209fbc3b317c5bb8956943e4a4d57023 (patch)
tree4f6055d3b8e9d41c215546a1d7c0993a6ae1707a
parent0f870710dc9c3f7549852e02824bcdfa1d15c6f7 (diff)
downloadperl-URPM-f2e2bbd3209fbc3b317c5bb8956943e4a4d57023.tar
perl-URPM-f2e2bbd3209fbc3b317c5bb8956943e4a4d57023.tar.gz
perl-URPM-f2e2bbd3209fbc3b317c5bb8956943e4a4d57023.tar.bz2
perl-URPM-f2e2bbd3209fbc3b317c5bb8956943e4a4d57023.tar.xz
perl-URPM-f2e2bbd3209fbc3b317c5bb8956943e4a4d57023.zip
remap 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;