forked from pool/python-tornado
- Distribute license file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=66
This commit is contained in:
committed by
Git OBS Bridge
parent
21c9ee96d6
commit
5f0473b918
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 13:59:31 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Distribute license file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 22:55:01 UTC 2017 - arun@gmx.de
|
||||
|
||||
|
||||
@@ -26,10 +26,6 @@ Group: Development/Languages/Python
|
||||
Url: http://www.tornadoweb.org
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
|
||||
Patch0: tornado-async-deprecations.patch
|
||||
%if 0%{?sle_version} == 120000 && !0%{?is_opensuse}
|
||||
BuildRequires: %{python_module backports.ssl_match_hostname}
|
||||
BuildRequires: %{python_module certifi}
|
||||
%endif
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pycurl}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -43,12 +39,15 @@ Recommends: python-Twisted
|
||||
Recommends: python-pycares
|
||||
Recommends: python-pycurl
|
||||
Recommends: python-service_identity
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?sle_version} == 120000 && !0%{?is_opensuse}
|
||||
BuildRequires: %{python_module backports.ssl_match_hostname}
|
||||
BuildRequires: %{python_module certifi}
|
||||
%endif
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module backports_abc}
|
||||
BuildRequires: python-singledispatch
|
||||
# /SECTION
|
||||
%if %python_version_nodots < 35
|
||||
%if %{python_version_nodots} < 35
|
||||
Requires: python-backports_abc
|
||||
%endif
|
||||
%ifpython2
|
||||
@@ -98,8 +97,7 @@ export ASYNC_TEST_TIMEOUT=30
|
||||
%python_exec -m tornado.test.runtests
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc demos
|
||||
%doc demos LICENSE
|
||||
%{python_sitearch}/tornado
|
||||
%{python_sitearch}/tornado-%{version}-py*.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user