Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-psutil for openSUSE:Factory checked in at 2023-10-04 22:30:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-psutil (Old) and /work/SRC/openSUSE:Factory/.python-psutil.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-psutil" Wed Oct 4 22:30:23 2023 rev:76 rq:1114855 version:5.9.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-psutil/python-psutil.changes 2023-09-08 21:15:57.599368986 +0200 +++ /work/SRC/openSUSE:Factory/.python-psutil.new.28202/python-psutil.changes 2023-10-04 22:30:26.413448197 +0200 @@ -1,0 +2,8 @@ +Sat Sep 30 19:15:18 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Require /usr/bin/who only for suse_version > 1500: 15.X does not + provide it, but has it in coreutils. +- PEP517 +- Clean up specfile from obsolete python2 stuff + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-psutil.spec ++++++ --- /var/tmp/diff_new_pack.v6NmpY/_old 2023-10-04 22:30:31.373627475 +0200 +++ /var/tmp/diff_new_pack.v6NmpY/_new 2023-10-04 22:30:31.377627619 +0200 @@ -16,13 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %ifarch x86_64 %{ix86} %bcond_without test %else %bcond_with test %endif -%bcond_without python2 %{?sle15_python_module_pythons} Name: python-psutil Version: 5.9.5 @@ -41,6 +39,8 @@ # PATCH-FIX-UPSTREAM logind_y2038.patch gh#giampaolo/psutil#2300 apla...@suse.com Patch5: logind_y2038.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -48,17 +48,11 @@ BuildRequires: systemd BuildRequires: systemd-devel %if %{with test} +%if 0%{?suse_version} > 1500 BuildRequires: /usr/bin/who +%endif BuildRequires: net-tools BuildRequires: procps -%if %{with python2} -BuildRequires: python-ipaddress -BuildRequires: python-mock -BuildRequires: python-unittest2 -%endif -%endif -%ifpython2 -Requires: python-ipaddress %endif %python_subpackages @@ -73,10 +67,10 @@ sed -i "1s/#!.*//" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.py,_psposix.py,_pssunos.py,_pswindows.py} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-psutil cp -r scripts %{buildroot}%{_docdir}/%{$python_prefix}-psutil/ @@ -103,5 +97,5 @@ %{_docdir}/%{python_prefix}-psutil/scripts/ %{python_sitearch}/psutil/ %exclude %{python_sitearch}/psutil/tests -%{python_sitearch}/psutil-%{version}*-info +%{python_sitearch}/psutil-%{version}.dist-info