Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hetzner for openSUSE:Factory 
checked in at 2025-05-30 14:31:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hetzner (Old)
 and      /work/SRC/openSUSE:Factory/.python-hetzner.new.25440 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hetzner"

Fri May 30 14:31:42 2025 rev:6 rq:1280659 version:0.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hetzner/python-hetzner.changes    
2021-06-01 10:35:29.764612251 +0200
+++ /work/SRC/openSUSE:Factory/.python-hetzner.new.25440/python-hetzner.changes 
2025-05-30 17:25:46.428369553 +0200
@@ -1,0 +2,5 @@
+Tue May 27 15:25:27 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hetzner.spec ++++++
--- /var/tmp/diff_new_pack.MfqV64/_old  2025-05-30 17:25:46.868387660 +0200
+++ /var/tmp/diff_new_pack.MfqV64/_new  2025-05-30 17:25:46.872387825 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-hetzner
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2018, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-hetzner
 Version:        0.8.3
 Release:        0
@@ -26,11 +25,13 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/aszlig/hetzner
 Source:         
https://github.com/aszlig/hetzner/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(post): alts
+Requires(postun): alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -41,10 +42,10 @@
 %setup -q -n hetzner-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/hetznerctl
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -61,5 +62,6 @@
 %doc README.md
 %license COPYING
 %python_alternative %{_bindir}/hetznerctl
-%{python_sitelib}/*
+%{python_sitelib}/hetzner
+%{python_sitelib}/hetzner-%{version}*-info
 

Reply via email to