diff --git a/python-tox.spec b/python-tox.spec index b09ac59..eb8f497 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -17,11 +17,11 @@ %{?sle15_python_module_pythons} -# %%if %%{defined sle15_python_module_pythons} -# %%bcond_without devpi_process -# %%else +%if %{defined sle15_python_module_pythons} +%bcond_without devpi_process +%else %bcond_with devpi_process -# %%endif +%endif Name: python-tox Version: 4.5.1 Release: 0 @@ -61,7 +61,7 @@ BuildRequires: %{python_module toml >= 0.9.4} BuildRequires: %{python_module tomli >= 2.0.1} BuildRequires: %{python_module virtualenv >= 20.21.0} BuildRequires: %{python_module wheel >= 0.29.0} -%if %{with devpi_process} +%if %{without devpi_process} BuildRequires: %{python_module devpi-process} %endif BuildRequires: fdupes @@ -117,7 +117,7 @@ use for: %prep %setup -q -n tox-%{version} -%if %{with devpi_process} +%if %{without devpi_process} %patch0 -p1 %endif %autopatch -p1 -m 1 @@ -147,6 +147,8 @@ donttest+=" or test_isolated_build_backend_missing_hook" donttest+=" or test_parallel_live or (test_parallel and not test_parallel_)" # gh#tox-dev/tox#3011 donttest+=" or test_replace_env_var_circular_flip_flop" +# +donttest+=" or test_call_as_exe or test_skip_pkg_install" %{python_expand # tests expect an active virtualenv with a clean python name as sys.executable virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}