From 758539531bd68d7ef8b5dc7ceca9d3c28e67e89eb7d375366ceb38ea8e7bb959 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 30 Apr 2012 13:37:45 +0000 Subject: [PATCH] Accepting request 116052 from devel:languages:python3 Fix building python 3 package on openSUSE 11.4 x86_64 (forwarded request 116051 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/116052 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=17 --- python-tornado.changes | 5 +++++ python3-tornado.changes | 5 +++++ python3-tornado.spec | 6 +++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/python-tornado.changes b/python-tornado.changes index dd06f3e..b68b623 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com + +- Fix building python 3 package on openSUSE 11.4 x86_64 + ------------------------------------------------------------------- Sat Apr 28 05:42:29 UTC 2012 - highwaystar.ru@gmail.com diff --git a/python3-tornado.changes b/python3-tornado.changes index 0c7d8f3..ce01149 100644 --- a/python3-tornado.changes +++ b/python3-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com + +- Fix building python 3 package on openSUSE 11.4 x86_64 + ------------------------------------------------------------------- Sat Apr 28 05:42:55 UTC 2012 - highwaystar.ru@gmail.com diff --git a/python3-tornado.spec b/python3-tornado.spec index 85294b3..d569167 100644 --- a/python3-tornado.spec +++ b/python3-tornado.spec @@ -34,9 +34,13 @@ BuildArch: noarch %if 0%{?suse_version} <= 1140 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)} +%ifarch x86_64 +# to allow ownership of noarch python directories +BuildRequires: python3-32bit +%endif %endif Requires: python3 >= %{py3_ver} -Requires: python3-distribute +Requires: python3-distribute %description