Sascha Peilicke 2012-11-19 13:39:09 +00:00 committed by Git OBS Bridge
parent 1145904cd5
commit ef82187588
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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.