From 9b8cafaf4b5147791c21da13cdda9aeaaecbeb27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Tue, 21 Jun 2011 09:33:56 +0000 Subject: fix URPM::Package->distepoch to actually work --- NEWS | 1 + URPM.xs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 4f58c03..74911f3 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ Version 3.37.2 - 26 April 2011, by Per Øyvind Karlsen +- fix URPM::Package->distepoch to actually work - add disttag & distepoch at end of @info@ line - add support for doing comparision against provides with distepoch to allow fresh install of newer releases into chroots diff --git a/URPM.xs b/URPM.xs index bb098b0..1539788 100644 --- a/URPM.xs +++ b/URPM.xs @@ -2516,13 +2516,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