From 4106ee1d4cc3fbb881a283277de2fd9ffc545c9ce9696ba3638b30be0a78df29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 14 Jun 2018 06:31:08 +0000 Subject: [PATCH] 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 --- psutil-5.4.5.tar.gz | 3 --- psutil-5.4.6.tar.gz | 3 +++ python-psutil.changes | 11 +++++++++++ python-psutil.spec | 18 ++++++++++-------- 4 files changed, 24 insertions(+), 11 deletions(-) delete mode 100644 psutil-5.4.5.tar.gz create mode 100644 psutil-5.4.6.tar.gz diff --git a/psutil-5.4.5.tar.gz b/psutil-5.4.5.tar.gz deleted file mode 100644 index 6ee6c58..0000000 --- a/psutil-5.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe -size 418003 diff --git a/psutil-5.4.6.tar.gz b/psutil-5.4.6.tar.gz new file mode 100644 index 0000000..0d9a59c --- /dev/null +++ b/psutil-5.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:686e5a35fe4c0acc25f3466c32e716f2d498aaae7b7edc03e2305b682226bcf6 +size 418059 diff --git a/python-psutil.changes b/python-psutil.changes index 35ba731..7bb3a42 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -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 diff --git a/python-psutil.spec b/python-psutil.spec index 6fe2f82..5a9696d 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-psutil -Version: 5.4.5 +Version: 5.4.6 Release: 0 Summary: A process utilities module for Python License: BSD-3-Clause @@ -30,8 +29,17 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: python-ipaddress +BuildRequires: python-mock +BuildRequires: net-tools +BuildRequires: procps +# /SECTION Requires: net-tools Requires: procps +%ifpython2 +Requires: python-ipaddress +%endif %python_subpackages %description @@ -60,12 +68,6 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/ %fdupes %{buildroot}%{$python_sitearch} } -%if %{with test} -%check -make %{?_smp_mflags} test -make %{?_smp_mflags} memtest -%endif - %files %{python_files} %license LICENSE %doc CREDITS HISTORY.rst README.rst