summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-15 02:33:20 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 17:50:35 +0200
commit6631840bc112151fb8bd588e20aee8742b1c42eb (patch)
tree00b1f5cd25dfe7dc9c2adc80ddc7c48371b7c43b /t/data/SPECS
parentdf855def6d9c9c2a5820d85e06df9071e796a03d (diff)
downloadurpmi-6631840bc112151fb8bd588e20aee8742b1c42eb.tar
urpmi-6631840bc112151fb8bd588e20aee8742b1c42eb.tar.gz
urpmi-6631840bc112151fb8bd588e20aee8742b1c42eb.tar.bz2
urpmi-6631840bc112151fb8bd588e20aee8742b1c42eb.tar.xz
urpmi-6631840bc112151fb8bd588e20aee8742b1c42eb.zip
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)
Diffstat (limited to 't/data/SPECS')
-rw-r--r--t/data/SPECS/orphans-1/h.spec2
1 files changed, 2 insertions, 0 deletions
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