14
0

- 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
This commit is contained in:
2017-05-31 19:26:02 +00:00
committed by Git OBS Bridge
parent d803262b66
commit f23be283ab
2 changed files with 7 additions and 0 deletions

View File

@@ -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