Disable tests by default in RHEL builds

RHEL does not include all the test dependencies.
epel9^2
Yaakov Selkowitz 2 years ago
parent 17d77b0a26
commit 3449703bd8

@ -5,7 +5,8 @@
# Tests are enabled by default, unless we bootstrap.
# Disable them to avoid a circular build dependency on requests-download and testpath.
%bcond tests %{without bootstrap}
# RHEL does not have all the test dependencies
%bcond tests %[%{without bootstrap} && ! %[%{defined rhel} && %{undefined epel}]]
%global srcname flit

Loading…
Cancel
Save