From 4ace59ab3fc0173e2ebde4c3d7b317814b784ed8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 21 Nov 2012 20:08:43 +0000 Subject: (Pkg_requires_nosense) stop passing RPMTAG_REQUIREFLAGS rationale: it was passing RPMTAG_REQUIREFLAGS as flags instead of since commit r225637 from pixel on 2007-08-09 that added initial suggests support by that time, suggests were basically RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK. in mdv2008.1, they were re-implemented the SuSe way with RPMTAG_SUGGESTSNAME. since we no more support old mdv2008.0 suggests since commit r4974 on 2012-06-17 ("drop support for old mdv2008.0 suggests"), we no longer try to distinct requires from suggests by looking at tag flags so don't need to pass RPMTAG_REQUIREFLAGS anymore (needed for next commit) --- URPM.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/URPM.xs b/URPM.xs index e535e71..5a988dd 100644 --- a/URPM.xs +++ b/URPM.xs @@ -1832,7 +1832,7 @@ Pkg_requires_nosense(pkg) URPM::Package pkg PPCODE: PUTBACK; - return_list_str(pkg->requires, pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, 0, + return_list_str(pkg->requires, pkg->h, RPMTAG_REQUIRENAME, 0, 0, callback_list_str_xpush, NULL); SPAGAIN; -- cgit v1.2.1