Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nose2 for openSUSE:Factory 
checked in at 2025-07-17 17:19:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nose2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-nose2.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nose2"

Thu Jul 17 17:19:26 2025 rev:16 rq:1294075 version:0.15.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nose2/python-nose2.changes        
2024-06-05 17:43:04.387575860 +0200
+++ /work/SRC/openSUSE:Factory/.python-nose2.new.8875/python-nose2.changes      
2025-07-17 17:21:00.053337110 +0200
@@ -1,0 +2,5 @@
+Wed Jul 16 13:04:55 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-nose2.spec ++++++
--- /var/tmp/diff_new_pack.QvRASz/_old  2025-07-17 17:21:00.849370284 +0200
+++ /var/tmp/diff_new_pack.QvRASz/_new  2025-07-17 17:21:00.853370451 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nose2
 #
-# 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-nose2
 Version:        0.15.1
@@ -31,10 +32,10 @@
 BuildRequires:  %{python_module setuptools-wheel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires:       alts
 Suggests:       python-coverage
 BuildArch:      noarch
 %python_subpackages
@@ -68,11 +69,8 @@
 deactivate
 }
 
-%post
-%python_install_alternative nose2
-
-%postun
-%python_uninstall_alternative nose2
+%pre
+%python_libalternatives_reset_alternative nose2
 
 %files %{python_files}
 %license LICENSE

Reply via email to