enable check
This commit is contained in:
parent
9327f758d4
commit
598778a8a2
@ -1,9 +1,8 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
%bcond_with test
|
|
||||||
|
|
||||||
Name: python-chardet
|
Name: python-chardet
|
||||||
Version: 4.0.0
|
Version: 4.0.0
|
||||||
Release: 3
|
Release: 4
|
||||||
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
|
||||||
@ -21,9 +20,7 @@ BuildRequires: python3-setuptools
|
|||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n python3-chardet
|
%description -n python3-chardet
|
||||||
Universal encoding detector for Python 2 and 3
|
Universal encoding detector for Python 2 and 3
|
||||||
@ -70,9 +67,7 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python3-chardet -f filelist.lst
|
%files -n python3-chardet -f filelist.lst
|
||||||
|
|
||||||
@ -82,6 +77,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 01 2021 shixuantong <shixuantong@huawei.com> - 4.0.0-3
|
||||||
- disable %check
|
- disable %check
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user