Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pssh for openSUSE:Factory checked in at 2025-12-16 15:58:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pssh (Old) and /work/SRC/openSUSE:Factory/.pssh.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pssh" Tue Dec 16 15:58:15 2025 rev:5 rq:1323070 version:2.3.4+git10.d4909c9 Changes: -------- --- /work/SRC/openSUSE:Factory/pssh/pssh.changes 2024-03-05 18:51:01.889848048 +0100 +++ /work/SRC/openSUSE:Factory/.pssh.new.1939/pssh.changes 2025-12-16 16:03:53.638169991 +0100 @@ -1,0 +2,6 @@ +Mon Jul 14 04:21:02 UTC 2025 - Steve Kowalik <[email protected]> + +- Use pyproject macros to build and install. +- Also use fdupes. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pssh.spec ++++++ --- /var/tmp/diff_new_pack.piTpS5/_old 2025-12-16 16:03:57.170319226 +0100 +++ /var/tmp/diff_new_pack.piTpS5/_new 2025-12-16 16:03:57.182319733 +0100 @@ -1,7 +1,7 @@ # # spec file for package pssh # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %define pkg_version 2.3.4 -%define python_version 3 +%define pythons python3 %if ! %{defined python3_sitelib} %define python3_sitelib /usr/lib/python3.6/site-packages/ %endif @@ -47,8 +47,10 @@ Patch8: 0008-openSUSE-add-C-pcmk_nodes-option-to-get-list-of-node.patch # PATCH-FEATURE-UPSTREAM Prepend hostname on each line when -P is set Patch9: 0001-Prepend-hostname-on-each-line-when-P-is-set.patch -BuildRequires: python%{python_version}-devel -BuildRequires: python%{python_version}-setuptools +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pssh = %{version}-%{release} BuildArch: noarch @@ -75,12 +77,11 @@ %autosetup -p1 %build -python%{python_version} setup.py build +%pyproject_wheel %install -python%{python_version} setup.py install \ - --prefix="%{_prefix}" \ - --root=%{buildroot} +%pyproject_install +%fdupes %{buildroot}%{python3_sitelib} %files %doc AUTHORS ChangeLog @@ -103,6 +104,6 @@ %files -n python-pssh %license COPYING %doc AUTHORS ChangeLog -%{python3_sitelib}/%{name}-%{pkg_version}* +%{python3_sitelib}/%{name}-%{pkg_version}.dist-info %{python3_sitelib}/%{name}lib
