aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-11-21 20:08:43 +0000
committerThierry Vignaud <tv@mageia.org>2012-11-21 20:08:43 +0000
commit4ace59ab3fc0173e2ebde4c3d7b317814b784ed8 (patch)
tree5613371197b36a32da288c3ff1c54cf38018def5
parent1cf3cfedaa7e6a70f1819fbabaefe5229571ec3f (diff)
downloadperl-URPM-4ace59ab3fc0173e2ebde4c3d7b317814b784ed8.tar
perl-URPM-4ace59ab3fc0173e2ebde4c3d7b317814b784ed8.tar.gz
perl-URPM-4ace59ab3fc0173e2ebde4c3d7b317814b784ed8.tar.bz2
perl-URPM-4ace59ab3fc0173e2ebde4c3d7b317814b784ed8.tar.xz
perl-URPM-4ace59ab3fc0173e2ebde4c3d7b317814b784ed8.zip
(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)
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
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;