!8 enable check
From: @run-is-pig Reviewed-by: @hanxinke Signed-off-by: @hanxinke
This commit is contained in:
commit
242166790c
@ -1,9 +1,8 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%bcond_with test
|
||||
|
||||
Name: python-chardet
|
||||
Version: 4.0.0
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Universal encoding detector for Python 2 and 3
|
||||
License: LGPL-2.1-only
|
||||
URL: https://github.com/chardet/chardet
|
||||
@ -21,9 +20,7 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
%if %{with test}
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
|
||||
%description -n python3-chardet
|
||||
Universal encoding detector for Python 2 and 3
|
||||
@ -70,9 +67,7 @@ mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%{__python3} setup.py test
|
||||
%endif
|
||||
|
||||
%files -n python3-chardet -f filelist.lst
|
||||
|
||||
@ -82,6 +77,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 16 2022 liudabo <liudabo1@huawei.com> - 4.0.0-4
|
||||
- enable check
|
||||
|
||||
* Wed Dec 01 2021 shixuantong <shixuantong@huawei.com> - 4.0.0-3
|
||||
- disable %check
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user