Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zope.testrunner for
openSUSE:Factory checked in at 2025-08-26 14:57:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.testrunner (Old)
and /work/SRC/openSUSE:Factory/.python-zope.testrunner.new.30751 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.testrunner"
Tue Aug 26 14:57:30 2025 rev:29 rq:1301411 version:6.6.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-zope.testrunner/python-zope.testrunner.changes
2025-04-10 22:00:34.007903501 +0200
+++
/work/SRC/openSUSE:Factory/.python-zope.testrunner.new.30751/python-zope.testrunner.changes
2025-08-26 14:57:48.072410227 +0200
@@ -1,0 +2,5 @@
+Tue Aug 26 09:52:11 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives on SLE-16-based and newer systems
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.testrunner.spec ++++++
--- /var/tmp/diff_new_pack.EtYk4U/_old 2025-08-26 14:57:48.628433515 +0200
+++ /var/tmp/diff_new_pack.EtYk4U/_new 2025-08-26 14:57:48.632433682 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testrunner
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,11 @@
%define psuffix %{nil}
%bcond_with test
%endif
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
%{?sle15_python_module_pythons}
Name: python-zope.testrunner%{psuffix}
Version: 6.6.1
@@ -31,7 +36,7 @@
Summary: Zope testrunner script
License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.testrunner
-Source:
https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope_testrunner-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/z/zope_testrunner/zope_testrunner-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -42,9 +47,14 @@
Requires: python-setuptools
Requires: python-zope.exceptions
Requires: python-zope.interface
+BuildArch: noarch
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
-BuildArch: noarch
+%endif
%if %{with test}
BuildRequires: %{python_module zope.testing}
BuildRequires: %{python_module zope.testrunner = %{version}}
@@ -84,6 +94,9 @@
%postun
%python_uninstall_alternative zope-testrunner
+%pre
+%python_libalternatives_reset_alternative zope-testrunner
+
%files %{python_files}
%license LICENSE.md
%doc README.rst