+++ /dev/null
---- psutil-release-5.6.7/psutil/_pslinux.py.orig 2019-11-26 08:25:07.000000000 +0100
-+++ psutil-release-5.6.7/psutil/_pslinux.py 2019-12-30 19:25:22.441270337 +0100
-@@ -1107,6 +1107,7 @@
- with open_text(os.path.join(root, 'stat')) as f:
- fields = f.read().strip().split()
- name = os.path.basename(root)
-+ del fields[11:] # newer kernels give more values
- (reads, reads_merged, rbytes, rtime, writes, writes_merged,
- wbytes, wtime, _, busy_time, _) = map(int, fields)
- yield (name, reads, writes, rbytes, wbytes, rtime,
Summary: A cross-platform process and system utilities module for Python
Summary(pl.UTF-8): Wieloplatformowe narzędzia do procesów i systemu dla Pythona
Name: python-%{module}
-Version: 5.6.7
-Release: 2
+Version: 5.8.0
+Release: 1
License: BSD
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/psutil/
Source0: https://github.com/giampaolo/psutil/archive/release-%{version}/%{module}-%{version}.tar.gz
-# Source0-md5: 5cc1fca56cf433a68a729a8c524f7b0e
-Patch0: %{name}-linux.patch
+# Source0-md5: cd7fdc361dfeae7553c649b0b9329e5b
URL: https://github.com/giampaolo/psutil
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%prep
%setup -q -n %{module}-release-%{version}
-%patch0 -p1
%if %{with tests}
# prepare subdir to run tests from