make the test check

Signed-off-by: zhuofeng <zhuofeng2@huawei.com>
This commit is contained in:
zhuofeng 2023-02-08 01:25:13 +00:00 committed by Gitee
parent 31e3c2164c
commit fa7d327873
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: python-chardet Name: python-chardet
Version: 5.0.0 Version: 5.0.0
Release: 1 Release: 2
Summary: Universal encoding detector for Python 2 and 3 Summary: Universal encoding detector for Python 2 and 3
License: LGPL-2.1-only License: LGPL-2.1-only
URL: https://github.com/chardet/chardet URL: https://github.com/chardet/chardet
@ -67,7 +67,7 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
%{__python3} setup.py test %{__python3} -m pytest -v
%files -n python3-chardet -f filelist.lst %files -n python3-chardet -f filelist.lst
@ -77,6 +77,13 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
%changelog
* Wed Feb 08 2023 zhuofeng <zhuofeng2@huawei.com> - 5.0.0-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:make the test check
* Sat Oct 29 2022 zhuofeng <zhuofeng2@huawei.com> - 5.0.0-1 * Sat Oct 29 2022 zhuofeng <zhuofeng2@huawei.com> - 5.0.0-1
- update to 5.0.0 - update to 5.0.0