Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ZODB for openSUSE:Factory checked in at 2025-06-04 23:48:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ZODB (Old) and /work/SRC/openSUSE:Factory/.python-ZODB.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ZODB" Wed Jun 4 23:48:39 2025 rev:16 rq:1282859 version:6.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ZODB/python-ZODB.changes 2025-05-13 20:08:10.185640048 +0200 +++ /work/SRC/openSUSE:Factory/.python-ZODB.new.16005/python-ZODB.changes 2025-06-04 23:48:39.819568503 +0200 @@ -1,0 +2,5 @@ +Wed Jun 4 15:21:36 UTC 2025 - Nico Krapp <nico.kr...@suse.com> + +- fix usage of libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ZODB.spec ++++++ --- /var/tmp/diff_new_pack.Eviz2G/_old 2025-06-04 23:48:40.383591920 +0200 +++ /var/tmp/diff_new_pack.Eviz2G/_new 2025-06-04 23:48:40.387592086 +0200 @@ -17,6 +17,7 @@ # +%bcond_without libalternatives Name: python-ZODB Version: 6.0.1 Release: 0 @@ -37,8 +38,10 @@ BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.testing} BuildRequires: %{python_module zope.testrunner >= 4.4.6} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-BTrees >= 4.2.0 Requires: python-ZConfig Requires: python-persistent >= 4.4.0 @@ -46,8 +49,6 @@ Requires: python-zc.lockfile Requires: python-zodbpickle >= 1.0.1 Requires: python-zope.interface -Requires(post): alts -Requires(preun): alts Conflicts: fstail BuildArch: noarch %python_subpackages @@ -67,7 +68,7 @@ This package contains documentation files for %{name}. %prep -%setup -q -n zodb-%{version} +%autosetup -p1 -n zodb-%{version} # delete backup files find . -name "*~" -print -delete # remove unwanted shebang @@ -96,11 +97,11 @@ %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} zope-testrunner-%{$python_bin_suffix} --test-path=src -%post -%python_install_alternative fsdump fsoids fsrefs fstail repozo +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative fsdump fsoids fsrefs fstail repozo -%postun -%python_uninstall_alternative fsdump +# post and postun macro call is not needed with only libalternatives %files %{python_files} %license LICENSE.txt COPYRIGHT.txt