Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-bugzilla"

Wed Jun 18 19:29:54 2025 rev:36 rq:1286308 version:3.2.0+git.1726768917.5eedea3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bugzilla/python-bugzilla.changes  
2025-06-10 08:59:00.191823469 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bugzilla.new.19631/python-bugzilla.changes   
    2025-06-18 19:30:00.009715611 +0200
@@ -1,0 +2,5 @@
+Tue Jun 17 09:15:10 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-bugzilla.spec ++++++
--- /var/tmp/diff_new_pack.bW2zZa/_old  2025-06-18 19:30:00.745746073 +0200
+++ /var/tmp/diff_new_pack.bW2zZa/_new  2025-06-18 19:30:00.745746073 +0200
@@ -17,6 +17,7 @@
 
 
 %define oldpython python
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-bugzilla
 Version:        3.2.0+git.1726768917.5eedea3
@@ -36,11 +37,11 @@
 BuildRequires:  %{python_module responses}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-requests
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 Suggests:       osc
 Conflicts:      %{oldpython}-bugzillatools
 Obsoletes:      python2-bugzilla
@@ -70,11 +71,8 @@
 %python_clone -a %{buildroot}%{_mandir}/man1/bugzilla.1
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%post
-%{python_install_alternative bugzilla bugzilla.1}
-
-%postun
-%python_uninstall_alternative bugzilla
+%pre
+%python_libalternatives_reset_alternative bugzilla
 
 %check
 %pytest

Reply via email to