diff --git a/python-ptr.changes b/python-ptr.changes index 64ceab1..277895f 100644 --- a/python-ptr.changes +++ b/python-ptr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 16 09:39:44 UTC 2020 - Matej Cepl + +- Make tests working again. + ------------------------------------------------------------------- Mon May 18 20:14:18 UTC 2020 - Matej Cepl diff --git a/python-ptr.spec b/python-ptr.spec index 61c67bb..f74f09b 100644 --- a/python-ptr.spec +++ b/python-ptr.spec @@ -25,7 +25,6 @@ Summary: Parallel asyncio Python setup(cfg|py) test runner License: MIT URL: https://github.com/facebookincubator/ptr Source: https://files.pythonhosted.org/packages/source/p/ptr/ptr-%{version}.tar.gz -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,8 +52,7 @@ sed -i '1{/^#!/d}' *.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python %{buildroot}%{_bindir}/ptr --help -%python_exec setup.py test +%pyunittest -v ptr_tests %post %python_install_alternative ptr