Accepting request 669360 from home:jbrownell:branches:devel:languages:python

- Import necessary dependencies on Red Hat platforms
- Fix LICENSE in spec

OBS-URL: https://build.opensuse.org/request/show/669360
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=97
This commit is contained in:
2019-01-29 11:57:16 +00:00
committed by Git OBS Bridge
parent ec91b807a5
commit 46368d932a
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 28 18:28:14 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>
- Import necessary dependencies on Red Hat platforms
-------------------------------------------------------------------
Thu Jan 10 14:50:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -38,13 +38,13 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python
Requires: python-simplejson
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8
Recommends: python-Twisted
Recommends: python-pycares
Recommends: python-pycurl
Recommends: python-service_identity
%endif
%if 0%{?sle_version} == 120300
%if 0%{?sle_version} == 120300 || 0%{?sle_version} == 120400 || 0%{?fedora} || 0%{?rhel}
BuildRequires: %{python_module backports_abc}
%endif
%if 0%{?sle_version} == 120000 && !0%{?is_opensuse}
@@ -66,7 +66,7 @@ Requires: python-backports_abc
%endif
%ifpython2
Requires: python-singledispatch
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8
Recommends: python-futures
%endif
%endif
@@ -115,7 +115,8 @@ export ASYNC_TEST_TIMEOUT=30
%python_exec -m tornado.test.runtests
%files %{python_files}
%doc demos LICENSE
%license LICENSE
%doc demos
%{python_sitearch}/tornado
%{python_sitearch}/tornado-%{version}-py*.egg-info