Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-blue for openSUSE:Factory 
checked in at 2025-06-17 18:23:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blue (Old)
 and      /work/SRC/openSUSE:Factory/.python-blue.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-blue"

Tue Jun 17 18:23:25 2025 rev:14 rq:1286291 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blue/python-blue.changes  2025-06-06 
22:44:14.211738059 +0200
+++ /work/SRC/openSUSE:Factory/.python-blue.new.19631/python-blue.changes       
2025-06-17 18:24:13.627308805 +0200
@@ -1,0 +2,5 @@
+Tue Jun 17 08:07:46 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-blue.spec ++++++
--- /var/tmp/diff_new_pack.6SC6zo/_old  2025-06-17 18:24:14.331338080 +0200
+++ /var/tmp/diff_new_pack.6SC6zo/_new  2025-06-17 18:24:14.335338245 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-blue
 Version:        0.9.1
 Release:        0
@@ -38,16 +39,16 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
+Requires:       python-black >= 24.1
+BuildArch:      noarch
 # SECTION doc and test requirements
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module pytest}
 # /SECTION
-Requires:       python-black >= 24.1
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -62,11 +63,11 @@
 also recognizes YAPF's block comments to the same effect.
 
 %package -n python-blue-doc
-Summary:        Documentation files for %name
+Summary:        Documentation files for %{name}
 Provides:       %{python_module foo-doc = %{version}}
 
 %description -n python-blue-doc
-HTML Documentation and examples for %name.
+HTML Documentation and examples for %{name}.
 
 %prep
 %autosetup -p1 -n blue-%{version}
@@ -76,7 +77,7 @@
 
 %build
 %pyproject_wheel
-make -C docs html
+%make_build -C docs html
 
 %install
 %pyproject_install
@@ -87,11 +88,8 @@
 # gh#grantjenks/blue#72
 %pytest -k 'not (test_good_dirs or test_bad_dirs)'
 
-%post
-%python_install_alternative blue
-
-%postun
-%python_uninstall_alternative blue
+%pre
+%python_libalternatives_reset_alternative blue
 
 %files %{python_files}
 %doc README.rst

Reply via email to