diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-03-06 06:00:40 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-03-06 06:00:40 +0000 |
commit | c9d0a7ca4394d563846dc0a3075e1b76e709ba6a (patch) | |
tree | a3ba846e56705c4574ba474e61f71de2007455e1 | |
parent | 9001f0db1697e28d08cdb9a44c87ca5a3085267d (diff) | |
download | perl-URPM-c9d0a7ca4394d563846dc0a3075e1b76e709ba6a.tar perl-URPM-c9d0a7ca4394d563846dc0a3075e1b76e709ba6a.tar.gz perl-URPM-c9d0a7ca4394d563846dc0a3075e1b76e709ba6a.tar.bz2 perl-URPM-c9d0a7ca4394d563846dc0a3075e1b76e709ba6a.tar.xz perl-URPM-c9d0a7ca4394d563846dc0a3075e1b76e709ba6a.zip |
support versioned suggests
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | URPM.xs | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Version 4.16 - 2011, by Per Øyvind Karlsen + +- support versioned suggests + Version 4.15 - 19 Feb 2011, by Per Øyvind Karlsen - fix segfault when there's no provides in synthesis (ie. with src.rpm) @@ -1049,7 +1049,7 @@ pack_header(URPM__Package pkg) { if (has_old_suggests) pkg->suggests = pack_list(pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIREVERSION, is_old_suggests); else - pkg->suggests = pack_list(pkg->h, RPMTAG_SUGGESTSNAME, 0, 0, NULL); + pkg->suggests = pack_list(pkg->h, RPMTAG_SUGGESTSNAME, RPMTAG_SUGGESTSFLAGS, RPMTAG_SUGGESTSVERSION, NULL); if (pkg->obsoletes == NULL) pkg->obsoletes = pack_list(pkg->h, RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEFLAGS, RPMTAG_OBSOLETEVERSION, NULL); if (pkg->conflicts == NULL) @@ -2466,7 +2466,7 @@ Pkg_suggests(pkg) URPM::Package pkg PPCODE: PUTBACK; - int count = return_list_str(pkg->suggests, pkg->h, RPMTAG_SUGGESTSNAME, 0, 0, callback_list_str_xpush, NULL); + int count = return_list_str(pkg->suggests, pkg->h, RPMTAG_SUGGESTSNAME, RPMTAG_SUGGESTSFLAGS, RPMTAG_SUGGESTSVERSION, callback_list_str_xpush, NULL); if (count == 0) return_list_str(pkg->suggests, pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, 0, callback_list_str_xpush_old_suggests, NULL); |