diff --git a/python-chardet.spec b/python-chardet.spec index edd64b53be3cb89accb184de587bff5c54afb841..011994074b86cb69abd0d7399fd8eefe0ca7b640 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-chardet Version: 5.0.0 -Release: 1 +Release: 2 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,13 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +%changelog +* Wed Feb 08 2023 zhuofeng - 5.0.0-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:make the test check + * Sat Oct 29 2022 zhuofeng - 5.0.0-1 - update to 5.0.0