From a4e9bfb5f3eab92157cf707338875ff878e164ed Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Thu, 6 Nov 2025 11:18:55 +0800 Subject: [PATCH] Fix build failure due to setuptools updated --- python-lazy-object-proxy.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-lazy-object-proxy.spec b/python-lazy-object-proxy.spec index 5dd907e..75442b5 100644 --- a/python-lazy-object-proxy.spec +++ b/python-lazy-object-proxy.spec @@ -1,12 +1,13 @@ Name: python-lazy-object-proxy Version: 1.9.0 -Release: 1 +Release: 2 Summary: A fast and thorough lazy object proxy License: BSD-2-Clause Url: https://github.com/ionelmc/python-lazy-object-proxy Source0: https://files.pythonhosted.org/packages/20/c0/8bab72a73607d186edad50d0168ca85bd2743cfc55560c9d721a94654b20/lazy-object-proxy-1.9.0.tar.gz BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools gcc BuildRequires: python%{python3_pkgversion}-pip python%{python3_pkgversion}-setuptools_scm +BuildRequires: python%{python3_pkgversion}-pytest python%{python3_pkgversion}-pytest-benchmark %description A fast and thorough lazy object proxy that rebuilds a new @@ -30,15 +31,17 @@ abstract syntax tree from Python's ast. %py3_install %check -%{__python3} setup.py test +%pytest %files -n python%{python3_pkgversion}-lazy-object-proxy %doc README.rst LICENSE %{python3_sitearch}/* %attr(0755, root, root) %{python3_sitearch}/lazy_object_proxy/*.so -%exclude %{python3_sitearch}/lazy_object_proxy/cext.c %changelog +* Thu Nov 06 2025 yaoxin <1024769339@qq.com> - 1.9.0-2 +- Fix build failure due to setuptools updated + * Thu Feb 9 2023 wubijie - 1.9.0-1 - Update package to version 1.9.0 -- Gitee