From fbef4d668368bcb2b840124408cf39aaaf2a87f52475c74f760e752d78602000 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 13 Aug 2015 16:15:09 +0000 Subject: [PATCH] Accepting request 322574 from home:seife:OpenStack:Master fix build with non-SUSE distributions, do not touch BuildRequires this time :-) OBS-URL: https://build.opensuse.org/request/show/322574 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=40 --- python-tornado.changes | 5 +++++ python-tornado.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-tornado.changes b/python-tornado.changes index 7fd3438..b996148 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 12 14:29:56 UTC 2015 - seife+obs@b1-systems.com + +- fix build with non-SUSE distributions + ------------------------------------------------------------------- Wed Apr 22 13:21:19 UTC 2015 - mcihar@suse.cz diff --git a/python-tornado.spec b/python-tornado.spec index 70bad4f..d3e1a65 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -34,12 +34,14 @@ BuildRequires: python-setuptools BuildRequires: python-simplejson Requires: python-backports.ssl_match_hostname Requires: python-simplejson +%if 0%{?suse_version} Recommends: python-futures Recommends: python-pycares Recommends: python-pycurl Recommends: python-Twisted Recommends: python-certifi Recommends: python-service_identity +%endif BuildRequires: fdupes %if 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")}