From e91676e969754ddac92aa5b6a1207fd80f8c58cc Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mar 14 2023 05:01:27 +0000 Subject: Disable docs and tests by default in ELN builds While hypothesis is not wanted in RHEL/ELN, a lot of packages still require it. Disabling docs and tests help us get other unwanted dependencies (particularly pandas) out of the buildroot in the meantime. --- diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 31230a0..a812f7d 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -1,6 +1,7 @@ -%if 0%{?el9} +%if 0%{?rhel} >= 9 # Needs pytest-xdist and typing-extensions which pull in a bunch of BRs, see # missing-epel9-test-brs.json +# Later RHEL versions are also expected to be missing some or all of these %bcond_with tests %bcond_with doc %else