Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cbor2 for openSUSE:Factory 
checked in at 2025-06-26 11:39:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cbor2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cbor2.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cbor2"

Thu Jun 26 11:39:02 2025 rev:15 rq:1288516 version:5.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cbor2/python-cbor2.changes        
2025-02-05 17:21:24.377223619 +0100
+++ /work/SRC/openSUSE:Factory/.python-cbor2.new.7067/python-cbor2.changes      
2025-06-26 11:40:17.340187193 +0200
@@ -1,0 +2,5 @@
+Wed Jun 25 11:44:28 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cbor2.spec ++++++
--- /var/tmp/diff_new_pack.ixMyyG/_old  2025-06-26 11:40:17.948212416 +0200
+++ /var/tmp/diff_new_pack.ixMyyG/_new  2025-06-26 11:40:17.948212416 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-cbor2
 Version:        5.6.5
@@ -31,10 +32,10 @@
 BuildRequires:  %{python_module setuptools >= 61}
 BuildRequires:  %{python_module setuptools_scm >= 6.4}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires:       alts
 %python_subpackages
 
 %description
@@ -60,11 +61,8 @@
 export LANG=en_US.UTF8
 %pytest_arch
 
-%post
-%python_install_alternative cbor2
-
-%postun
-%python_uninstall_alternative cbor2
+%pre
+%python_libalternatives_reset_alternative cbor2
 
 %files %{python_files}
 %doc README.rst

Reply via email to