1
0
forked from pool/python-psutil

Accepting request 142796 from devel:languages:python

Removed openSUSE 11.4 spec file workarounds (forwarded request 142749 from TheBlackCat) (forwarded request 142788 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psutil?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2012-11-28 13:33:54 +00:00 committed by Git OBS Bridge
commit c5d85790ae
2 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
- Removed openSUSE 11.4 spec file workarounds
-------------------------------------------------------------------
Sat Oct 6 23:01:56 UTC 2012 - os-dev@jacraig.com

View File

@ -29,15 +29,7 @@ BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)")}
%endif
Requires: python(abi) = %{py3_ver}
%if 0%{?suse_version} && 0%{?suse_version} > 1140
BuildRequires: python3-base
%endif
%description
A graphical interface that lets you easily analyze and introspect unaltered running Python processes.