1
0
forked from pool/python-psutil

- It's not a noarch package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=3
This commit is contained in:
Sascha Peilicke 2012-04-24 07:52:23 +00:00 committed by Git OBS Bridge
parent ce29e98127
commit 80791d32c4
2 changed files with 7 additions and 3 deletions

View File

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

View File

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