1
0
forked from pool/python-psutil

Accepting request 616598 from home:TheBlackCat:branches:devel:languages:python

- Update to 5.4.6
  * 1258_: [Windows] Process.username() may cause a segfault (Python interpreter
    crash).  (patch by Jean-Luc Migot)
  * 1273_: net_if_addr() namedtuple's name has been renamed from "snic" to
    "snicaddr".
  * 1274_: [Linux] there was a small chance Process.children() may swallow
    AccessDenied exceptions.

OBS-URL: https://build.opensuse.org/request/show/616598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=92
This commit is contained in:
Tomáš Chvátal 2018-06-14 06:31:08 +00:00 committed by Git OBS Bridge
parent eb68a70399
commit 4106ee1d4c
4 changed files with 24 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe
size 418003

3
psutil-5.4.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:686e5a35fe4c0acc25f3466c32e716f2d498aaae7b7edc03e2305b682226bcf6
size 418059

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jun 13 18:12:32 UTC 2018 - toddrme2178@gmail.com
- Update to 5.4.6
* 1258_: [Windows] Process.username() may cause a segfault (Python interpreter
crash). (patch by Jean-Luc Migot)
* 1273_: net_if_addr() namedtuple's name has been renamed from "snic" to
"snicaddr".
* 1274_: [Linux] there was a small chance Process.children() may swallow
AccessDenied exceptions.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 14 17:18:54 UTC 2018 - arun@gmx.de Sat Apr 14 17:18:54 UTC 2018 - arun@gmx.de

View File

@ -17,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-psutil Name: python-psutil
Version: 5.4.5 Version: 5.4.6
Release: 0 Release: 0
Summary: A process utilities module for Python Summary: A process utilities module for Python
License: BSD-3-Clause License: BSD-3-Clause
@ -30,8 +29,17 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: python-ipaddress
BuildRequires: python-mock
BuildRequires: net-tools
BuildRequires: procps
# /SECTION
Requires: net-tools Requires: net-tools
Requires: procps Requires: procps
%ifpython2
Requires: python-ipaddress
%endif
%python_subpackages %python_subpackages
%description %description
@ -60,12 +68,6 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/
%fdupes %{buildroot}%{$python_sitearch} %fdupes %{buildroot}%{$python_sitearch}
} }
%if %{with test}
%check
make %{?_smp_mflags} test
make %{?_smp_mflags} memtest
%endif
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CREDITS HISTORY.rst README.rst %doc CREDITS HISTORY.rst README.rst