Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PyECLib for openSUSE:Factory 
checked in at 2026-04-28 11:55:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyECLib (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyECLib.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyECLib"

Tue Apr 28 11:55:22 2026 rev:10 rq:1349412 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyECLib/python-PyECLib.changes    
2026-03-19 17:40:48.670346294 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyECLib.new.11940/python-PyECLib.changes 
2026-04-28 11:57:35.508544639 +0200
@@ -1,0 +2,5 @@
+Sun Apr 26 18:43:49 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset-alternative for TW
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-PyECLib.spec ++++++
--- /var/tmp/diff_new_pack.wnYgnR/_old  2026-04-28 11:57:36.232574728 +0200
+++ /var/tmp/diff_new_pack.wnYgnR/_new  2026-04-28 11:57:36.236574895 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 Name:           python-PyECLib
 Version:        1.7.0
 Release:        0
@@ -30,8 +36,13 @@
 BuildRequires:  fdupes
 BuildRequires:  liberasurecode-devel >= 1.4.0
 BuildRequires:  python-rpm-macros
-Requires:       alts
+%if %{with libalternatives}
 BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %python_subpackages
 
 %description
@@ -55,6 +66,9 @@
 %python_clone -a %{buildroot}%{_bindir}/pyeclib-backend
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
+%pre
+%python_libalternatives_reset_alternative pyeclib-backend
+
 %post
 %python_install_alternative pyeclib-backend
 

Reply via email to