From a2853dd44622b84c6d7e6262c15b7c9a62a37617 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Mon, 16 Jun 2025 16:22:10 +0800 Subject: [PATCH] Switch to unittest to fix build failure --- python-simplegeneric.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-simplegeneric.spec b/python-simplegeneric.spec index 26d6a4c..efe4980 100644 --- a/python-simplegeneric.spec +++ b/python-simplegeneric.spec @@ -1,6 +1,6 @@ Name: python-simplegeneric Version: 0.8.1 -Release: 13 +Release: 14 Summary: A package with simple generic functions License: Python or ZPLv2.1 URL: http://cheeseshop.python.org/pypi/simplegeneric @@ -31,7 +31,7 @@ generic functions like len(), iter() and so on. %py3_install %check -PYTHONPATH=$(pwd) %{__python3} setup.py test +PYTHONPATH=$(pwd) %{__python3} -m unittest %files -n python3-simplegeneric %doc README.txt @@ -39,6 +39,9 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test %{python3_sitelib}/{simplegeneric.py*,simplegeneric-%{version}-py%{python3_version}.egg-info} %changelog +* Mon Jun 16 2025 yaoxin <1024769339@qq.com> - 0.8.1-14 +- Switch to unittest to fix build failure + * Tue Mar 29 2022 yaoxin - 0.8.1-13 - Resolve compilation failures. -- Gitee