From 19020450cd08ac01174b060ecf167e29cc0fe0b2 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Tue, 15 Jul 2025 11:14:12 +0800 Subject: [PATCH] Skip the test because python3-zope-testrunner has not introduced --- python-zope-event.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 0ef59f7..cad1261 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,8 +1,11 @@ +# runing the test need python3-zope-testrunner, but has not been introduced yet +%bcond_with tests + Name: python-zope-event Version: 5.0 -Release: 2 +Release: 3 Summary: Zope Event Publication -License: ZPLv2.1 +License: ZPL-2.1 URL: http://pypi.python.org/pypi/zope.event/ Source0: https://files.pythonhosted.org/packages/46/c2/427f1867bb96555d1d34342f1dd97f8c420966ab564d58d18469a1db8736/zope.event-5.0.tar.gz Patch0: Adapt-to-intersphinx_mapping-format-due-to-Sphinx-upgrade.patch @@ -23,6 +26,11 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-sphinx +%if %{with tests} +BuildRequires: python3-tox +BuildRequires: python3-tox-current-env +BuildRequires: python3-zope-testrunner +%endif Requires: python3 @@ -50,8 +58,10 @@ popd %install %py3_install +%if %{with tests} %check -%{__python3} setup.py test +%{tox} +%endif %files -n python3-zope-event %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst @@ -66,6 +76,9 @@ popd %changelog +* Tue Jul 15 2025 wangkai <13474090681@163.com> - 5.0-3 +- Skip the test because python3-zope-testrunner has not introduced + * Tue Jan 21 2025 wangkai <13474090681@163.com> - 5.0-2 - Fix build failure due to Sphinx upgrade to 8.1.3 -- Gitee