diff --git a/python3-tornado.changes b/python3-tornado.changes index cc1595a..ab113a8 100644 --- a/python3-tornado.changes +++ b/python3-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 14:18:55 UTC 2012 - toddrme2178@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Thu Sep 6 13:05:51 UTC 2012 - toddrme2178@gmail.com diff --git a/python3-tornado.spec b/python3-tornado.spec index a977e31..4ab34df 100644 --- a/python3-tornado.spec +++ b/python3-tornado.spec @@ -32,12 +32,8 @@ BuildRequires: python3-distribute %if 0%{?suse_version} BuildRequires: fdupes %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)} -%endif BuildArch: noarch -Requires: python3 >= %{py3_ver} +Requires: python(abi) = %{py3_ver} Requires: python3-distribute @@ -75,9 +71,5 @@ chmod +x %{buildroot}%{python3_sitelib}/%{modname}/*/*.py %doc README demos %{python3_sitelib}/%{modname} %{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info -%if 0%{?suse_version} <= 1140 -%dir %{_prefix}/lib/python%{py3_ver} -%dir %{python3_sitelib} -%endif %changelog