From a6cecd0282fcd9e5399ec54e2e01f30a7b7e993a6f8a0a5266eed02a947ae202 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 29 Jan 2019 11:57:16 +0000 Subject: [PATCH] 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 --- python-tornado.changes | 5 +++++ python-tornado.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-tornado.changes b/python-tornado.changes index b9c9267..b4ae0ac 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 28 18:28:14 UTC 2019 - Jonathan Brownell + +- Import necessary dependencies on Red Hat platforms + ------------------------------------------------------------------- Thu Jan 10 14:50:55 UTC 2019 - Tomáš Chvátal diff --git a/python-tornado.spec b/python-tornado.spec index 71b3c8f..ddd724f 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -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