- improved noarch selection macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=27
This commit is contained in:
Jan Matejek 2009-08-12 18:08:01 +00:00 committed by Git OBS Bridge
parent 0fa32cfc73
commit ea8748b081
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 12 20:07:42 CEST 2009 - matejcik@suse.cz
- improved noarch selection macro
-------------------------------------------------------------------
Fri Jul 31 23:48:25 CEST 2009 - matejcik@suse.cz

View File

@ -31,9 +31,8 @@ Requires: python-devel
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%if 0%{?suse_version} <= 1110
%else
BuildArch: noarch
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
Version: 0.6c9