diff --git a/python-whey.spec b/python-whey.spec index c8f6164..6c6188f 100644 --- a/python-whey.spec +++ b/python-whey.spec @@ -42,7 +42,7 @@ BuildRequires: %{python_module pyproject-examples} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module re-assert} -BuildRequires: %{python_module whey == %{version}} +BuildRequires: %{python_module whey = %{version}} %endif # /SECTION BuildRequires: fdupes @@ -90,8 +90,9 @@ A simple Python wheel builder for simple projects. %check %if %{with test} -# Requires two whey modules that are not packaged -%pytest --ignore tests/test_utils.py -k 'not test_show_builders' +# test_show_builders requires two whey modules that are not packaged +# test_build_success requires that the module is built exactly when the tests are run +%pytest --ignore tests/test_utils.py -k 'not (test_show_builders or test_build_success)' %endif %if !%{with test}