diff --git a/psutil-5.4.3.tar.gz b/psutil-5.4.3.tar.gz deleted file mode 100644 index 7303836..0000000 --- a/psutil-5.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2467e9312c2fa191687b89ff4bc2ad8843be4af6fb4dc95a7cc5f7d7a327b18 -size 412550 diff --git a/psutil-5.4.5.tar.gz b/psutil-5.4.5.tar.gz new file mode 100644 index 0000000..6ee6c58 --- /dev/null +++ b/psutil-5.4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe +size 418003 diff --git a/python-psutil.changes b/python-psutil.changes index d300b43..35ba731 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Sat Apr 14 17:18:54 UTC 2018 - arun@gmx.de + +- update to version 5.4.5: + * Bug fixes + + 1268: setup.py's extra_require parameter requires latest + setuptools version, breaking quite a lot of installations. + +- changes from version 5.4.4: + * Enhancements + + 1239: [Linux] expose kernel "slab" memory for + psutil.virtual_memory(). (patch by Maxime Mouial) + * Bug fixes + + 694: [SunOS] cmdline() could be truncated at the 15th character + when reading it from /proc. An extra effort is made by reading + it from process address space first. (patch by Georg Sauthoff) + + 771: [Windows] cpu_count() (both logical and physical) return a + wrong (smaller) number on systems using process groups (> 64 + cores). + + 771: [Windows] cpu_times(percpu=True) return fewer CPUs on + systems using process groups (> 64 cores). + + 771: [Windows] cpu_stats() and cpu_freq() may return incorrect + results on systems using process groups (> 64 cores). + + 1193: [SunOS] Return uid/gid from /proc/pid/psinfo if there + aren't enough permissions for /proc/pid/cred. (patch by Georg + Sauthoff) + + 1194: [SunOS] Return nice value from psinfo as getpriority() + doesn't support real-time processes. (patch by Georg Sauthoff) + + 1194: [SunOS] Fix double free in psutil_proc_cpu_num(). (patch + by Georg Sauthoff) + + 1194: [SunOS] Fix undefined behavior related to strict-aliasing + rules and warnings. (patch by Georg Sauthoff) + + 1210: [Linux] cpu_percent() steal time may remain stuck at 100% + due to Linux erroneously reporting a decreased steal time + between calls. (patch by Arnon Yaari) + + 1216: fix compatibility with python 2.6 on Windows (patch by Dan + Vinakovsky) + + 1222: [Linux] Process.memory_full_info() was erroneously summing + "Swap:" and "SwapPss:". Same for "Pss:" and "SwapPss". Not + anymore. + + 1224: [Windows] Process.wait() may erroneously raise + TimeoutExpired. + + 1238: [Linux] sensors_battery() may return None in case battery + is not listed as "BAT0" under /sys/class/power_supply. + + 1240: [Windows] cpu_times() float loses accuracy in a long + running system. (patch by stswandering) + + 1245: [Linux] sensors_temperatures() may fail with IOError "no + such file". + + 1255: [FreeBSD] swap_memory() stats were erroneously represented + in KB. (patch by Denis Krienbühl) + * Backward compatibility + + 771: [Windows] cpu_count(logical=False) on Windows XP and Vista + is no longer supported and returns None. + ------------------------------------------------------------------- Wed Jan 3 22:40:21 UTC 2018 - arun@gmx.de diff --git a/python-psutil.spec b/python-psutil.spec index f68976c..6fe2f82 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -16,16 +16,15 @@ # -%bcond_with test - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-psutil -Version: 5.4.3 +Version: 5.4.5 Release: 0 Summary: A process utilities module for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://pypi.python.org/pypi/psutil/ +URL: https://pypi.python.org/pypi/psutil/ Source: https://files.pythonhosted.org/packages/source/p/psutil/psutil-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -33,7 +32,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: net-tools Requires: procps -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -52,8 +50,8 @@ sed -i "1s/#!.*//" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.p %{python_expand mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-psutil cp -r scripts %{buildroot}%{_docdir}/%{$python_prefix}-psutil/ -find %{buildroot}%{_docdir}/%{$python_prefix}-psutil/scripts/ -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python|#!%__$python|" {} \; -find %{buildroot}%{$python_sitearch}/psutil/tests/ -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python|#!%__$python|" {} \; +find %{buildroot}%{_docdir}/%{$python_prefix}-psutil/scripts/ -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%__$python|" {} \; +find %{buildroot}%{$python_sitearch}/psutil/tests/ -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%__$python|" {} \; chmod a+x %{buildroot}%{$python_sitearch}/psutil/tests/*.py chmod a-x %{buildroot}%{$python_sitearch}/psutil/tests/__init__.py $python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/psutil/tests/ @@ -64,13 +62,13 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/ %if %{with test} %check -make test -make memtest +make %{?_smp_mflags} test +make %{?_smp_mflags} memtest %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CREDITS HISTORY.rst LICENSE README.rst +%license LICENSE +%doc CREDITS HISTORY.rst README.rst %{_docdir}/%{python_prefix}-psutil/scripts/ %{python_sitearch}/psutil/ %{python_sitearch}/psutil/_psutil_*.so