disable %check
This commit is contained in:
parent
f25241f102
commit
c23f292186
@ -1,7 +1,9 @@
|
|||||||
%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: 2
|
Release: 3
|
||||||
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
|
||||||
@ -19,7 +21,10 @@ 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
|
||||||
|
|
||||||
@ -65,7 +70,9 @@ 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
|
||||||
|
|
||||||
@ -75,6 +82,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 01 2021 shixuantong <shixuantong@huawei.com> - 4.0.0-3
|
||||||
|
- disable %check
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.0.0-2
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.0.0-2
|
||||||
- DESC: delete -S git from %autosetup
|
- DESC: delete -S git from %autosetup
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user