From 741f98bc48cb30d283798e6b4260c5b18ea63aa5 Mon Sep 17 00:00:00 2001 From: tzing_t Date: Wed, 30 Jul 2025 07:59:16 +0000 Subject: [PATCH] fix build error (cherry picked from commit 4d8223d96467fc05ea8d8ca02a46579a608a6933) --- python-transaction.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-transaction.spec b/python-transaction.spec index aba3dfa..cd5b745 100644 --- a/python-transaction.spec +++ b/python-transaction.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-transaction Version: 5.0 -Release: 1 +Release: 2 Summary: Transaction management for Python License: ZPLv2.1 URL: https://github.com/zopefoundation/transaction @@ -27,6 +27,7 @@ BuildRequires: python3-repoze-sphinx-autointerface BuildRequires: python3-mock BuildRequires: python3-coverage BuildRequires: python3-mock +BuildRequires: python3-pytest # General requires Requires: python3-zope-interface Requires: python3-sphinx @@ -80,7 +81,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +pytest %files -n python3-transaction -f filelist.lst %dir %{python3_sitelib}/* @@ -89,6 +90,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Jul 30 2025 tzing - 5.0-2 +- Fix build error for check + * Fri Oct 11 2024 liudy - 5.0-1 - Update package to version 5.0 -- Gitee