forked from pool/python-tornado
Accepting request 335032 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/335032 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tornado?expand=0&rev=32
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 30 09:11:37 UTC 2015 - fcastelli@suse.com
|
||||
|
||||
- python-certifi is an optional depedency when python 2.7.9 is available.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 26 10:21:28 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -27,13 +27,27 @@ Source: https://pypi.python.org/packages/source/t/tornado/tornado-%{vers
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-backports.ssl_match_hostname
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-certifi
|
||||
BuildRequires: python-futures
|
||||
BuildRequires: python-pycurl
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-simplejson
|
||||
Requires: python-backports.ssl_match_hostname
|
||||
|
||||
# Tornado requires python-certifi when the ssl module
|
||||
# does not provide the 'create_default_context' function.
|
||||
# The ssl module is part of the python package.
|
||||
# Starting from python 2.7.9 the ssl module satisfies
|
||||
# tornado's requirement, making the python-certifi package
|
||||
# optional.
|
||||
# Python 2.7.9 is availalbe on SLE12 Updates channel and is going
|
||||
# to be available also on openSUSE leap.
|
||||
%if 0%{?sles_version} >= 12 || 0%{suse_version} > 1320
|
||||
Requires: python >= 2.7.9
|
||||
%else
|
||||
BuildRequires: python-certifi
|
||||
Requires: python-certifi
|
||||
%endif
|
||||
|
||||
Requires: python-simplejson
|
||||
%if 0%{?suse_version}
|
||||
Recommends: python-futures
|
||||
|
Reference in New Issue
Block a user