Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-haproxyctl for openSUSE:Factory checked in at 2025-05-30 14:31:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-haproxyctl (Old) and /work/SRC/openSUSE:Factory/.python-haproxyctl.new.25440 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-haproxyctl" Fri May 30 14:31:44 2025 rev:4 rq:1280665 version:0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-haproxyctl/python-haproxyctl.changes 2022-10-14 15:42:22.579902071 +0200 +++ /work/SRC/openSUSE:Factory/.python-haproxyctl.new.25440/python-haproxyctl.changes 2025-05-30 17:25:45.000310784 +0200 @@ -1,0 +2,5 @@ +Tue May 27 15:22:32 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-haproxyctl.spec ++++++ --- /var/tmp/diff_new_pack.OnTY3V/_old 2025-05-30 17:25:45.604335641 +0200 +++ /var/tmp/diff_new_pack.OnTY3V/_new 2025-05-30 17:25:45.608335805 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-haproxyctl # -# 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 @@ -16,8 +16,6 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-haproxyctl Version: 0.5 Release: 0 @@ -27,7 +25,9 @@ URL: https://github.com/neurogeek/haproxyctl Source: https://github.com/neurogeek/haproxyctl/archive/v%{version}.tar.gz#/haproxyctl-%{version}.tar.gz Source1: gpl-3.0.txt +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip @@ -48,10 +48,10 @@ cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/haproxyctl %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -71,7 +71,8 @@ %doc README.md %license gpl-3.0.txt %dir %{_datadir}/%{python_flavor}-haproxyctl -%{python_sitelib}/* +%{python_sitelib}/haproxy +%{python_sitelib}/haproxyctl-%{version}*-info %python_alternative %{_bindir}/haproxyctl %{_datadir}/%{python_flavor}-haproxyctl/*