diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-06-21 09:33:56 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-06-21 09:33:56 +0000 |
commit | 9b8cafaf4b5147791c21da13cdda9aeaaecbeb27 (patch) | |
tree | bef45a5c0acd34348af5f389ab396dfcebaa9baf | |
parent | ced23be1b3b388c1811730de3cdba75d17e2bb37 (diff) | |
download | perl-URPM-9b8cafaf4b5147791c21da13cdda9aeaaecbeb27.tar perl-URPM-9b8cafaf4b5147791c21da13cdda9aeaaecbeb27.tar.gz perl-URPM-9b8cafaf4b5147791c21da13cdda9aeaaecbeb27.tar.bz2 perl-URPM-9b8cafaf4b5147791c21da13cdda9aeaaecbeb27.tar.xz perl-URPM-9b8cafaf4b5147791c21da13cdda9aeaaecbeb27.zip |
fix URPM::Package->distepoch to actually work
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | URPM.xs | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -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 @@ -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 |