From ea8748b081234fc302f9bf5dbc71f7a5065c4155b4809bb96607c9d5a412e4bb Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 12 Aug 2009 18:08:01 +0000 Subject: [PATCH] - improved noarch selection macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=27 --- python-setuptools.changes | 5 +++++ python-setuptools.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-setuptools.changes b/python-setuptools.changes index ad7b9cc..e044b11 100644 --- a/python-setuptools.changes +++ b/python-setuptools.changes @@ -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 diff --git a/python-setuptools.spec b/python-setuptools.spec index 6057fed..1650f9e 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -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