From 5f0473b91825efd129ed2ffe119df442929ef1219309b74a2f515136ccbdb50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Dec 2017 13:59:49 +0000 Subject: [PATCH] - Distribute license file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=66 --- python-tornado.changes | 5 +++++ python-tornado.spec | 14 ++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/python-tornado.changes b/python-tornado.changes index c4907f0..7d7d9aa 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -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 diff --git a/python-tornado.spec b/python-tornado.spec index f7d4c4d..8b6bace 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -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