diff --git a/python3-tornado.changes b/python3-tornado.changes index ce01149..e5c0568 100644 --- a/python3-tornado.changes +++ b/python3-tornado.changes @@ -2,6 +2,7 @@ Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com - Fix building python 3 package on openSUSE 11.4 x86_64 +- Removed test for unsupported openSUSE versions ------------------------------------------------------------------- Sat Apr 28 05:42:55 UTC 2012 - highwaystar.ru@gmail.com diff --git a/python3-tornado.spec b/python3-tornado.spec index d569167..f0b84ba 100644 --- a/python3-tornado.spec +++ b/python3-tornado.spec @@ -28,9 +28,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel BuildRequires: python3-2to3 BuildRequires: python3-distribute -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif %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)} @@ -39,6 +36,7 @@ BuildArch: noarch BuildRequires: python3-32bit %endif %endif +BuildArch: noarch Requires: python3 >= %{py3_ver} Requires: python3-distribute