Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rich-click for 
openSUSE:Factory checked in at 2025-06-12 15:54:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rich-click (Old)
 and      /work/SRC/openSUSE:Factory/.python-rich-click.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rich-click"

Thu Jun 12 15:54:13 2025 rev:8 rq:1285051 version:1.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rich-click/python-rich-click.changes      
2024-03-17 22:16:08.644696369 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-rich-click.new.19631/python-rich-click.changes
   2025-06-12 15:55:57.087877442 +0200
@@ -1,0 +2,5 @@
+Thu Jun 12 08:09:20 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build and libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-rich-click.spec ++++++
--- /var/tmp/diff_new_pack.ICTgrI/_old  2025-06-12 15:55:57.603898856 +0200
+++ /var/tmp/diff_new_pack.ICTgrI/_new  2025-06-12 15:55:57.607899022 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rich-click
 #
-# Copyright (c) 2024 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,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without libalternatives
 Name:           python-rich-click
 Version:        1.7.4
 Release:        0
@@ -24,9 +24,13 @@
 License:        MIT
 URL:            https://github.com/ewels/rich-click
 Source:         
https://files.pythonhosted.org/packages/source/r/rich-click/rich-click-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-click >= 8
 Requires:       python-rich >= 10.7.0
 BuildArch:      noarch
@@ -43,18 +47,15 @@
 %setup -q -n rich-click-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/rich-click
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%post
-%python_install_alternative rich-click
-
-%postun
-%python_uninstall_alternative rich-click
+%pre
+%python_libalternatives_reset_alternative rich-click
 
 #%%check
 # No tests yet https://github.com/ewels/rich-click/issues/25

Reply via email to