Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package avahi for openSUSE:Factory checked 
in at 2026-03-06 18:17:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/avahi (Old)
 and      /work/SRC/openSUSE:Factory/.avahi.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "avahi"

Fri Mar  6 18:17:25 2026 rev:176 rq:1336735 version:0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/avahi/avahi.changes      2026-01-15 
16:42:33.567054635 +0100
+++ /work/SRC/openSUSE:Factory/.avahi.new.561/avahi.changes     2026-03-06 
18:18:03.446823362 +0100
@@ -1,0 +2,6 @@
+Tue Mar  3 22:38:46 UTC 2026 - Antonio Larrosa <[email protected]>
+
+- Use libalternative instead of update-alternatives in TW and SLFO
+  (jsc#PED-14835). 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ avahi.spec ++++++
--- /var/tmp/diff_new_pack.xfAdVi/_old  2026-03-06 18:18:07.286982965 +0100
+++ /var/tmp/diff_new_pack.xfAdVi/_new  2026-03-06 18:18:07.302983630 +0100
@@ -66,6 +66,11 @@
 %if %{build_glib2}
 %define debug_package_requires libavahi-ui%{avahi_ui_sover} = 
%{version}-%{release}
 %endif
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 %define oldpython python
@@ -301,6 +306,13 @@
 Requires:       python-Twisted
 Requires:       python-dbm
 Requires:       python-dbus-python
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 # Old name used for <= 10.3:
 %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
 Provides:       avahi-python = %{version}
@@ -321,6 +333,13 @@
 Requires:       python3-Twisted
 Requires:       python3-dbm
 Requires:       python3-dbus-python
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 # Old name used for <= 10.3:
 Provides:       avahi-python = %{version}
 Obsoletes:      avahi-python < %{version}
@@ -796,6 +815,9 @@
 %if %{build_core}
 %if 0%{?python_subpackage_only}
 # this is rewritten by python_subpackages into the appropriate flavor
+%pre -n python-avahi
+%python_libalternatives_reset_alternative avahi-bookmarks
+
 %post -n python-avahi
 %python_install_alternative avahi-bookmarks avahi-bookmarks.1
 
@@ -803,6 +825,9 @@
 %python_uninstall_alternative avahi-bookmarks
 %else
 
+%pre -n python3-avahi
+%python_libalternatives_reset_alternative avahi-bookmarks
+
 %post -n python3-avahi
 %python_install_alternative avahi-bookmarks avahi-bookmarks.1
 

Reply via email to