From ad67effd3e1cf7889f2d8db35b4c2e31cf2678f80714e132710c3a1f79d608b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 11 May 2018 04:59:21 +0000 Subject: [PATCH] Accepting request 606268 from home:TheBlackCat:branches:devel:languages:python - Fix building on SLE OBS-URL: https://build.opensuse.org/request/show/606268 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=81 --- python-tornado.changes | 5 +++++ python-tornado.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-tornado.changes b/python-tornado.changes index 5804d1d..49aeb98 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 10 16:35:09 UTC 2018 - toddrme2178@gmail.com + +- Fix building on SLE + ------------------------------------------------------------------- Wed Apr 18 17:10:06 UTC 2018 - toddrme2178@gmail.com diff --git a/python-tornado.spec b/python-tornado.spec index 1b9c083..3b7cb86 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -42,6 +42,9 @@ Recommends: python-pycares Recommends: python-pycurl Recommends: python-service_identity %endif +%if 0%{?sle_version} == 120300 +BuildRequires: %{python_module backports_abc} +%endif %if 0%{?sle_version} == 120000 && !0%{?is_opensuse} BuildRequires: %{python_module backports.ssl_match_hostname} BuildRequires: %{python_module certifi}