diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1819,14 +1819,6 @@ Pkg_set_id(pkg, id=-1) pkg->flag |= id >= 0 && id <= FLAG_ID_MAX ? id : FLAG_ID_INVALID; void -Pkg_suggests(pkg) - URPM::Package pkg - PPCODE: - PUTBACK; - return_list_str(pkg->suggests, pkg->h, RPMTAG_SUGGESTSNAME, 0, 0, callback_list_str_xpush, NULL); - SPAGAIN; - -void Pkg_obsoletes(pkg) URPM::Package pkg ALIAS: @@ -1853,6 +1845,7 @@ Pkg_obsoletes_nosense(pkg) conflicts_nosense = 1 provides_nosense = 2 requires_nosense = 3 + suggests = 4 PPCODE: PUTBACK; rpmTag tag; @@ -1861,6 +1854,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; default: tag = RPMTAG_OBSOLETENAME; s = pkg->obsoletes; break; } return_list_str(s, pkg->h, tag, 0, 0, callback_list_str_xpush, NULL); |