diff --git a/python-tox-current-env.spec b/python-tox-current-env.spec index 2610560..e1d843a 100644 --- a/python-tox-current-env.spec +++ b/python-tox-current-env.spec @@ -1,3 +1,7 @@ +%bcond bootstrap 0 +# Tests are enabled by default, unless bootstrapping (for pytest-xdist) +%bcond tests %{without bootstrap} + Name: python-tox-current-env Version: 0.0.11 Release: %autorelease @@ -11,8 +15,6 @@ BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros -%bcond tests 1 - %description The tox-current-env plugin allows to run tests in current Python environment.