aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs4
1 files changed, 0 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index 7259006..d590a6a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2853,11 +2853,7 @@ Trans_add(trans, pkg, ...)
}
}
}
-#ifdef RPM_446
- RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(pkg->flag & FLAG_ID)), update, *relocations) == 0;
-#else
RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(pkg->flag & FLAG_ID)), update, relocations) == 0;
-#endif
/* free allocated memory, check rpm is copying it just above, at least in 4.0.4 */
free(relocations);
} else RETVAL = 0;