diff --git a/python-responses.changes b/python-responses.changes index d6feae8..3da1ac8 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 18 09:24:05 UTC 2019 - Tomáš Chvátal + +- Hardcode pytest4 for testing as pytest5 fails for now + ------------------------------------------------------------------- Tue May 14 14:13:30 UTC 2019 - Ondřej Súkup diff --git a/python-responses.spec b/python-responses.spec index f1bb7a0..64475c5 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -23,16 +23,17 @@ Release: 0 Summary: A utility library for mocking out the `requests` Python library License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/getsentry/responses +URL: https://github.com/getsentry/responses Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz -BuildRequires: %{python_module setuptools} # test requirements BuildRequires: %{python_module cookies} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest-localserver} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest4} BuildRequires: %{python_module requests >= 2.0} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests >= 2.0 Requires: python-six @@ -57,6 +58,7 @@ about the library. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest