From f23be283ab1fd2f89f2b63154b4539807d82b358a9db611f48654ab500dc30e3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 31 May 2017 19:26:02 +0000 Subject: [PATCH] - require python-backports.ssl_hostname only on python 2.x OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=56 --- python-tornado.changes | 5 +++++ python-tornado.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-tornado.changes b/python-tornado.changes index 52f0c82..000129a 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 31 19:25:46 UTC 2017 - dmueller@suse.com + +- require python-backports.ssl_hostname only on python 2.x + ------------------------------------------------------------------- Fri Apr 7 19:59:28 UTC 2017 - toddrme2178@gmail.com diff --git a/python-tornado.spec b/python-tornado.spec index 648b349..bcf2a2b 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -52,8 +52,10 @@ BuildRequires: python-rpm-macros Requires: python >= 2.7.9 %else BuildRequires: %{python_module certifi} +%ifpython2 BuildRequires: python-backports.ssl_match_hostname Requires: python-backports.ssl_match_hostname +%endif Requires: python-certifi %endif