diff --git a/python-termcolor.changes b/python-termcolor.changes index 0aed232..520ec8c 100644 --- a/python-termcolor.changes +++ b/python-termcolor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 19 13:37:43 UTC 2012 - saschpe@suse.de + +- Macro cleanup + ------------------------------------------------------------------- Fri Sep 23 10:36:16 UTC 2011 - saschpe@suse.de diff --git a/python-termcolor.spec b/python-termcolor.spec index 9d45102..b11afe4 100644 --- a/python-termcolor.spec +++ b/python-termcolor.spec @@ -26,13 +26,11 @@ Source: http://pypi.python.org/packages/source/t/termcolor/termcolor-%{v BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Available text colors: grey, red, green, yellow, blue, magenta, cyan, white.