diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.xs | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ +- make it compatible with rpm-4.12.0 +- use new recommends tags instead of suggests ones + Version 4.31 - 27 June 2014 - compare(): croak if used on URPM::Package object (mga#12766) @@ -764,7 +764,7 @@ pack_header(const URPM__Package pkg) { if (pkg->requires == NULL) pkg->requires = pack_list(pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIREVERSION); if (pkg->suggests == NULL) - pkg->suggests = pack_list(pkg->h, RPMTAG_SUGGESTSNAME, 0, 0); + pkg->suggests = pack_list(pkg->h, RPMTAG_RECOMMENDNAME, 0, 0); if (pkg->obsoletes == NULL) pkg->obsoletes = pack_list(pkg->h, RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEFLAGS, RPMTAG_OBSOLETEVERSION); if (pkg->conflicts == NULL) @@ -1871,7 +1871,7 @@ Pkg_obsoletes_nosense(pkg) case 1: tag = RPMTAG_CONFLICTNAME; s = pkg->conflicts; break; case 2: tag = RPMTAG_PROVIDENAME; s = pkg->provides; break; case 3: tag = RPMTAG_REQUIRENAME; s = pkg->requires; break; - case 4: tag = RPMTAG_SUGGESTSNAME; s = pkg->suggests; break; + case 4: tag = RPMTAG_RECOMMENDNAME;s = pkg->suggests; break; default: tag = RPMTAG_OBSOLETENAME; s = pkg->obsoletes; break; } return_list_str(s, pkg->h, tag, 0, 0, callback_list_str_xpush, NULL); |