diff --git a/python-chardet.spec b/python-chardet.spec index 19a827fea8c5288147d2c89043d1bf3b5f648887..0d5fbab09397678e0541555e0d1b8b8ef063005f 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -1,6 +1,6 @@ Name: python-chardet Version: 3.0.4 -Release: 9 +Release: 10 Summary: Python 2/3 compatible character encoding detector. License: LGPL-2.1 URL: https://github.com/chardet/chardet @@ -49,6 +49,10 @@ mv %{buildroot}%{_bindir}/{,python3-}chardetect popd %{__python2} setup.py install -O1 --skip-build --root %{buildroot} +%check +%{__python2} -m pytest -v +%{__python3} -m pytest -v + %files -n python2-chardet %doc README.rst %{!?_licensedir:%global license %%doc} @@ -64,6 +68,12 @@ popd %{python3_sitelib}/* %changelog +* Wed Feb 08 2023 zhuofeng - 3.0.4-10 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:make the test check + * Sat Aug 20 2022 shixuantong - 3.0.4-9 - add python_provide for python3-chardet