14
0
forked from pool/python-psutil

Accepting request 768404 from home:dimstar:Factory

Seems to actually work - the cpu_affinity test is failing every now and then, but I see that even on my kernel 5.4 system

OBS-URL: https://build.opensuse.org/request/show/768404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=113
This commit is contained in:
Michael Ströder
2020-01-29 19:12:32 +00:00
committed by Git OBS Bridge
parent d52eb2248a
commit e4102fef22
3 changed files with 70 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-psutil
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,7 @@ Patch0: pr_1364.patch
Patch1: skip-test-missing-warnings.patch
Patch2: skip-flaky-i586.patch
Patch3: skip-obs.patch
Patch4: pr_1665.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -59,6 +60,7 @@ A graphical interface that lets you easily analyze and introspect unaltered runn
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# Remove shebangs
sed -i "1s/#!.*//" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.py,_psposix.py,_pssunos.py,_pswindows.py}