From 023e250909cd93e2f1cc2df9df121564986788e37ae2fde18f7fed6a79445bea Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 24 Apr 2012 07:52:23 +0000 Subject: [PATCH] - It's not a noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=3 --- python-psutil.changes | 5 +++++ python-psutil.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-psutil.changes b/python-psutil.changes index c7cdc34..b2df7b9 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 24 07:44:19 UTC 2012 - saschpe@suse.de + +- It's not a noarch package + ------------------------------------------------------------------- Fri Mar 23 09:44:42 UTC 2012 - saschpe@suse.de diff --git a/python-psutil.spec b/python-psutil.spec index dc2ff97..9ff8f86 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -27,9 +27,7 @@ BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-distribute %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 +%{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %description @@ -37,6 +35,7 @@ A graphical interface that lets you easily analyze and introspect unaltered runn %prep %setup -q -n psutil-%{version} +chmod -x docs/class_diagram.png # Fix executable permissions %build python setup.py build