diff --git a/python-transaction.spec b/python-transaction.spec index aba3dfabcd29f01bed05a0ad22d127aeb4530ca4..cd5b74531f2d0fe73ffea8b9f8759631492c8287 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