From 95bc9bd7128fdd360f39df62a9406726a7fb6177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Fri, 10 Dec 2010 14:23:59 +0000 Subject: drop #ifdef RPMTAG_DISTEPOCH, preprocessor won't be able to check for enums, nor does URPM support rpm versions without it either.. --- URPM.xs | 4 ---- 1 file changed, 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 -- cgit v1.2.1