diff --git a/python-responses.changes b/python-responses.changes index 394eef5..a5458d2 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 9 08:03:43 UTC 2018 - mimi.vx@gmail.com + +- Fix python2 requires + ------------------------------------------------------------------- Fri Jan 12 00:37:13 UTC 2018 - mimi.vx@gmail.com diff --git a/python-responses.spec b/python-responses.spec index fbd46ef..a420d5c 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -26,29 +26,29 @@ Group: Development/Languages/Python Url: https://github.com/getsentry/responses Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz BuildRequires: %{python_module cookies} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module requests >= 2.0} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} # test requirements} BuildRequires: %{python_module coverage >= 3.7.1} +BuildRequires: %{python_module devel} BuildRequires: %{python_module flake8} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests >= 2.0} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: python-rpm-macros Requires: python-cookies Requires: python-requests >= 2.0 Requires: python-six -Suggests: python-pytest -Suggests: python-pytest-localserver Suggests: python-coverage >= 3.7.1 -Suggests: python-pytest-cov Suggests: python-flake8 -Suggests: python-mock -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Suggests: python-pytest +Suggests: python-pytest-cov +Suggests: python-pytest-localserver BuildArch: noarch - +%ifpython2 +Requires: python-mock +%endif %python_subpackages %description @@ -66,8 +66,8 @@ about the library. %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES LICENSE README.rst +%doc CHANGES README.rst +%license LICENSE %{python_sitelib}/* %changelog