From 775adde41b3aaa10d27abc2c141016e7248d6537c13248c1a3087fa831f46378 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 17 Oct 2017 13:20:44 +0000 Subject: [PATCH] Accepting request 534392 from home:ojkastl_buildservice:Redfish_SLES12 BuildRequires for certifi and backports.ssl_match_hostname on SLES12 GA only, to avoid build errors OBS-URL: https://build.opensuse.org/request/show/534392 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=63 --- python-tornado.changes | 12 ++++++++++++ python-tornado.spec | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/python-tornado.changes b/python-tornado.changes index 16a5d91..3b4ca55 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Oct 17 10:03:04 UTC 2017 - opensuse_buildservice@ojkastl.de + +- added %{python_module backports.ssl_match_hostname} + on SLES12 GA aka SP0, to avoid build errors +- explicit BuildRequires for certifi on SLES12 GA aka SP0 only + +------------------------------------------------------------------- +Tue Oct 17 09:24:48 UTC 2017 - opensuse_buildservice@ojkastl.de + +- added certifi to BuildRequires, to fix 'ImportError: No module named certifi' + ------------------------------------------------------------------- Wed Aug 9 19:03:51 UTC 2017 - toddrme2178@gmail.com diff --git a/python-tornado.spec b/python-tornado.spec index a975bc0..02997de 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -27,6 +27,10 @@ Url: http://www.tornadoweb.org Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz Patch0: tornado-configtest.patch Patch1: 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}