Accepting request 584620 from home:mimi_vx:branches:devel:languages:python

- Fix python2 requires

OBS-URL: https://build.opensuse.org/request/show/584620
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=5
This commit is contained in:
Ondřej Súkup 2018-03-09 08:05:41 +00:00 committed by Git OBS Bridge
parent ea42eccd91
commit 29b555c50c
2 changed files with 17 additions and 12 deletions

View File

@ -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

View File

@ -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