Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-actdiag"

Tue Jun 17 18:21:12 2025 rev:10 rq:1286088 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-actdiag/python-actdiag.changes    
2024-04-08 17:52:22.497913484 +0200
+++ /work/SRC/openSUSE:Factory/.python-actdiag.new.19631/python-actdiag.changes 
2025-06-17 18:21:41.560985403 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 12:10:48 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-actdiag.spec ++++++
--- /var/tmp/diff_new_pack.nKcIcI/_old  2025-06-17 18:21:42.533025834 +0200
+++ /var/tmp/diff_new_pack.nKcIcI/_new  2025-06-17 18:21:42.533025834 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-actdiag
 #
-# 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,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-actdiag
 Version:        3.0.0
@@ -33,11 +34,11 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-blockdiag >= 3
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -60,11 +61,8 @@
 %check
 %pytest src/actdiag/tests
 
-%post
-%python_install_alternative actdiag
-
-%postun
-%python_uninstall_alternative actdiag
+%pre
+%python_libalternatives_reset_alternative actdiag
 
 %files %{python_files}
 %license LICENSE

Reply via email to