aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-10 14:23:59 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-10 14:23:59 +0000
commit95bc9bd7128fdd360f39df62a9406726a7fb6177 (patch)
tree3cc0b8e881e686b5842accf3a8486d0e4d644a78
parentbfbb5576457d31352b4b86d26f6af241867c9249 (diff)
downloadperl-URPM-95bc9bd7128fdd360f39df62a9406726a7fb6177.tar
perl-URPM-95bc9bd7128fdd360f39df62a9406726a7fb6177.tar.gz
perl-URPM-95bc9bd7128fdd360f39df62a9406726a7fb6177.tar.bz2
perl-URPM-95bc9bd7128fdd360f39df62a9406726a7fb6177.tar.xz
perl-URPM-95bc9bd7128fdd360f39df62a9406726a7fb6177.zip
drop #ifdef RPMTAG_DISTEPOCH, preprocessor won't be able to check for enums, nor does URPM support rpm versions without it either..
-rw-r--r--URPM.xs4
1 files changed, 0 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index 2386f0a..da91349 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2199,13 +2199,9 @@ Pkg_dirnames(pkg)
void Pkg_distepoch(pkg)
URPM::Package pkg
PPCODE:
-#ifdef RPMTAG_DISTEPOCH
if (pkg->h) {
XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_DISTEPOCH), 0)));
}
-#else
- croak("distepoch isn't available with this rpm version");
-#endif
void Pkg_disttag(pkg)
URPM::Package pkg