From 3c738964a7c1f06ee0e261785a5cb0f4f14852ff Mon Sep 17 00:00:00 2001 From: wang--ge Date: Tue, 15 Jul 2025 20:13:16 +0800 Subject: [PATCH] Fix build error --- python-genshi.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-genshi.spec b/python-genshi.spec index 2ed7189..d0bbed8 100644 --- a/python-genshi.spec +++ b/python-genshi.spec @@ -1,12 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-genshi Version: 0.7.9 -Release: 1 +Release: 2 Summary: Toolkit for stream-based generation of output for the web License: BSD-3-Clause URL: http://genshi.edgewall.org/ Source0: %{pypi_source Genshi} +BuildRequires: python3-pytest Requires: python3-babel >= 0.8 @@ -69,7 +70,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%pytest %files -n python3-genshi -f filelist.lst %dir %{python3_sitearch}/* @@ -78,6 +79,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Jul 15 2025 Ge Wang - 0.7.9-2 +- Fix build error + * Tue Oct 22 2024 Ge Wang - 0.7.9-1 - Update to version 0.7.9 -- Gitee