From 6631840bc112151fb8bd588e20aee8742b1c42eb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 15 Jan 2020 02:33:20 +0100 Subject: cpan_testers: skip weak deps test on CentOS 7 (unsupported) rationale: CentOS 7's rpm doesn't support eg Recommendstag, it only knows their definitions but is unable to parse a spec file using Recommends Ideally we should be able to detect a too old/unpatched rpm... Technically, we could check whether it's Mageia < 6 which did have an non upstream implementation (but was using Suggests tag instead of Recommends and so would need testsuite adaption -- not worth it) --- t/data/SPECS/orphans-1/h.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/data/SPECS') diff --git a/t/data/SPECS/orphans-1/h.spec b/t/data/SPECS/orphans-1/h.spec index 44c5e2d8..939d4bb2 100644 --- a/t/data/SPECS/orphans-1/h.spec +++ b/t/data/SPECS/orphans-1/h.spec @@ -3,7 +3,9 @@ Name: h Version: 1 Release: 1 License: x +%if 0%{?fedora} > 21 || 0%{?mageia} > 4 || 0%{?rhel} > 7 Recommends: hh +%endif %description x -- cgit v1.2.1