aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.xs2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c7676e1..f1e2879 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- allow running transaction with replagekgs option
+
Version 1.72 - 10 August 2007, by Pascal "Pixel" Rigaux
- modify parse_hdlist so that partial hdlist reading can be used
diff --git a/URPM.xs b/URPM.xs
index 65ada75..2678433 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3063,6 +3063,8 @@ Trans_run(trans, data, ...)
RPMTRANS_FLAG_NOPOSTUN );
} else if (len == 10 && !memcmp(s, "oldpackage", 10)) {
if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_OLDPACKAGE;
+ } else if (len == 11 && !memcmp(s, "replacepkgs", 11)) {
+ if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_REPLACEPKG;
} else if (len == 9 && !memcmp(s, "repackage", 9)) {
if (SvIV(ST(i+1))) transFlags |= RPMTRANS_FLAG_REPACKAGE;
} else if (len == 10 && !memcmp(s, "ignorearch", 10)) {