Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-labels for openSUSE:Factory 
checked in at 2025-06-05 20:35:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-labels (Old)
 and      /work/SRC/openSUSE:Factory/.python-labels.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-labels"

Thu Jun  5 20:35:02 2025 rev:5 rq:1283033 version:20.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-labels/python-labels.changes      
2025-05-31 19:16:59.331060682 +0200
+++ /work/SRC/openSUSE:Factory/.python-labels.new.19631/python-labels.changes   
2025-06-05 20:37:38.841546443 +0200
@@ -1,0 +2,5 @@
+Thu Jun  5 09:25:03 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-labels.spec ++++++
--- /var/tmp/diff_new_pack.PyJXhS/_old  2025-06-05 20:37:39.305565737 +0200
+++ /var/tmp/diff_new_pack.PyJXhS/_new  2025-06-05 20:37:39.309565903 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-labels
 Version:        20.1.0
 Release:        0
@@ -29,12 +30,12 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-attrs
 Requires:       python-click
 Requires:       python-pytoml
 Requires:       python-requests
-Requires(post): alts
-Requires(postun): alts
+BuildRequires:  alts
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module attrs}
@@ -65,11 +66,9 @@
 export LANG=en_US.UTF-8
 %pytest
 
-%post
-%python_install_alternative labels
-
-%postun
-%python_uninstall_alternative labels
+%pre
+# removing old update-alternatives entries
+%python_libalternatives_reset_alternative labels
 
 %files %{python_files}
 %doc README.md

Reply via email to