diff --git a/python-zipp.spec b/python-zipp.spec index 0d24592..c243252 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -42,6 +42,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %if %{with test} +BuildRequires: %{python_module jaraco.functools} BuildRequires: %{python_module jaraco.itertools} BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pytest} @@ -72,7 +73,7 @@ rm -r zipp.egg-info # skip performance test (we do not have func_timeout sofar) sed -i -e 's:import func_timeout::' \ -e 's:@func_timeout.func_set_timeout(.):@unittest.skip("skip performance test"):' \ - test_zipp.py + tests/test_zipp.py %pytest %endif