aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-12 10:41:32 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-12 10:41:32 +0000
commita2fa45ec703832c48618f5828d883b8655bec090 (patch)
treeca29144fbd257a79ada1d82779ab7cc2497919db
parentd8dc68848c428d20c35afcd148d5affc360eb6e0 (diff)
downloadperl-URPM-a2fa45ec703832c48618f5828d883b8655bec090.tar
perl-URPM-a2fa45ec703832c48618f5828d883b8655bec090.tar.gz
perl-URPM-a2fa45ec703832c48618f5828d883b8655bec090.tar.bz2
perl-URPM-a2fa45ec703832c48618f5828d883b8655bec090.tar.xz
perl-URPM-a2fa45ec703832c48618f5828d883b8655bec090.zip
That wasn't actually necessaryv1_44
-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;