From 65d9310a60f59b28cffa240d850b433709f966a0 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Wed, 21 Dec 2022 06:34:40 +0000 Subject: [PATCH] make the test check Signed-off-by: zhuofeng --- python-chardet.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-chardet.spec b/python-chardet.spec index 0c90636..5d7ce02 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-chardet Version: 4.0.0 -Release: 2 +Release: 3 Summary: Universal encoding detector for Python 2 and 3 License: LGPL-2.1-only URL: https://github.com/chardet/chardet @@ -65,7 +65,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%{__python3} -m pytest -v %files -n python3-chardet -f filelist.lst @@ -75,6 +75,12 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Dec 21 2022 zhuofeng - 4.0.0-3 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:make the test check + * Tue Oct 25 2022 zhangruifang - 4.0.0-2 - Rebuild for next release -- Gitee