Disable tests by default in RHEL builds
RHEL does not include all the test dependencies.
This commit is contained in:
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…
Reference in New Issue
Block a user