Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-invoke for openSUSE:Factory 
checked in at 2025-07-18 15:57:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-invoke (Old)
 and      /work/SRC/openSUSE:Factory/.python-invoke.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-invoke"

Fri Jul 18 15:57:42 2025 rev:20 rq:1294187 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-invoke/python-invoke.changes      
2023-10-22 21:01:34.412665615 +0200
+++ /work/SRC/openSUSE:Factory/.python-invoke.new.8875/python-invoke.changes    
2025-07-18 15:58:28.474331463 +0200
@@ -1,0 +2,5 @@
+Thu Jul 10 13:21:17 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-invoke.spec ++++++
--- /var/tmp/diff_new_pack.hk4eaM/_old  2025-07-18 15:58:29.142359371 +0200
+++ /var/tmp/diff_new_pack.hk4eaM/_new  2025-07-18 15:58:29.146359538 +0200
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-invoke
 #
-# Copyright (c) 2023 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
@@ -24,7 +24,7 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-invoke%{psuffix}
 Version:        2.2.0
@@ -39,13 +39,13 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools > 56}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-PyYAML
 Requires:       python-fluidity-sm
 Requires:       python-lexicon
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
 BuildArch:      noarch
 %if %{with test}
 BuildRequires:  %{python_module PyYAML}
@@ -78,6 +78,7 @@
 
 %python_clone -a %{buildroot}%{_bindir}/inv
 %python_clone -a %{buildroot}%{_bindir}/invoke
+%python_group_libalternatives inv invoke
 %endif
 
 %if %{with test}
@@ -95,11 +96,8 @@
 %pytest -s -k "not ($skiptests)" tests
 %endif
 
-%post
-%{python_install_alternative inv invoke}
-
-%postun
-%python_uninstall_alternative inv
+%pre
+%python_libalternatives_reset_alternative inv
 
 %if !%{with test}
 %files %{python_files}

Reply via email to