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