Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-behave for openSUSE:Factory 
checked in at 2025-06-04 20:30:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-behave (Old)
 and      /work/SRC/openSUSE:Factory/.python-behave.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-behave"

Wed Jun  4 20:30:12 2025 rev:8 rq:1282828 version:1.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-behave/python-behave.changes      
2025-05-15 17:02:46.541725131 +0200
+++ /work/SRC/openSUSE:Factory/.python-behave.new.16005/python-behave.changes   
2025-06-04 20:30:28.977780915 +0200
@@ -1,0 +2,5 @@
+Wed Jun  4 15:05:03 UTC 2025 - Nico Krapp <nico.kr...@suse.com>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-behave.spec ++++++
--- /var/tmp/diff_new_pack.uTtWYt/_old  2025-06-04 20:30:29.465801151 +0200
+++ /var/tmp/diff_new_pack.uTtWYt/_new  2025-06-04 20:30:29.469801316 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-behave
 Version:        1.2.6
@@ -35,13 +36,13 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-parse >= 1.8.2
 Requires:       python-parse_type >= 0.4.2
 Requires:       python-six >= 1.11
-Requires(post): alts
-Requires(postun): alts
 Suggests:       python-argparse
 Suggests:       python-coverage
 Suggests:       python-enum34
@@ -92,11 +93,11 @@
 %check
 %pytest tests
 
-%post
-%python_install_alternative behave
+%pre
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative behave
 
-%postun
-%python_uninstall_alternative behave
+# post and postun macro call is not needed with only libalternatives
 
 %files %{python_files}
 %license LICENSE

Reply via email to