diff --git a/python-requests-mock.changes b/python-requests-mock.changes index 2aab20e..106919d 100644 --- a/python-requests-mock.changes +++ b/python-requests-mock.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jun 7 11:54:36 UTC 2019 - Tomáš Chvátal + +- Update dependencies +- Run also pytest tests +- Fix fdupes call + ------------------------------------------------------------------- Tue May 7 13:19:56 UTC 2019 - pgajdos@suse.com diff --git a/python-requests-mock.spec b/python-requests-mock.spec index da08d44..5565c24 100644 --- a/python-requests-mock.spec +++ b/python-requests-mock.spec @@ -25,11 +25,12 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://requests-mock.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz -BuildRequires: %{python_module Sphinx >= 1.1.2} BuildRequires: %{python_module fixtures} BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} -BuildRequires: %{python_module requests} +BuildRequires: %{python_module purl} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests >= 2.3} BuildRequires: %{python_module rpm-macros} BuildRequires: %{python_module six} BuildRequires: %{python_module testrepository >= 0.0.18} @@ -56,12 +57,12 @@ You should checkout the docs for more information. %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib}/mymodule +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check +%pytest tests/pytest + mv .testr.conf .testr.conf.orig -# purl optional dependency is missing at time of writing (2019-05-07) -rm ./tests/test_adapter.py %{python_expand # first line can't be empty rm -rf .testrepository sed 's/python/$python/' .testr.conf.orig >| .testr.conf