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