!11 【轻量级 PR】:Workaround of build failure

From: @shinwell_hu
Reviewed-by: @myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-11-20 09:17:10 +00:00 committed by Gitee
commit bfb450e22c

View File

@ -2,7 +2,7 @@
Name: python-tqdm Name: python-tqdm
Version: 4.28.1 Version: 4.28.1
Release: 1 Release: 2
Summary: A Fast and Extensible Progress Bar for Python and CLI Summary: A Fast and Extensible Progress Bar for Python and CLI
License: MPLv2.0 and MIT License: MPLv2.0 and MIT
URL: https://github.com/tqdm/tqdm URL: https://github.com/tqdm/tqdm
@ -39,8 +39,10 @@ tqdm(interable), and you are done!
mkdir -p %{buildroot}%{_mandir}/man1/ mkdir -p %{buildroot}%{_mandir}/man1/
mv -v %{buildroot}%{python3_sitelib}/tqdm/tqdm.1 %{buildroot}%{_mandir}/man1/ mv -v %{buildroot}%{python3_sitelib}/tqdm/tqdm.1 %{buildroot}%{_mandir}/man1/
%check # tqdm requires python-coverage and python-flake8 to run self-test
%{__python3} setup.py test # python-flake8 currently is not included in SP3, so disable self-test temporarily
#%check
#%{__python3} setup.py test
%files -n python3-tqdm %files -n python3-tqdm
%defattr(-,root,root) %defattr(-,root,root)
@ -55,5 +57,8 @@ mv -v %{buildroot}%{python3_sitelib}/tqdm/tqdm.1 %{buildroot}%{_mandir}/man1/
%{_mandir}/man1/tqdm.1* %{_mandir}/man1/tqdm.1*
%changelog %changelog
* Fri Nov 19 2021 Shinwell Hu <huxinwei@huawei.com> - 4.28.1-2
- Disable self-test due to unavailable of python-flake8 in SP3.
* Wed Mar 4 2020 hexiujun <hexiujun1@huawei.com> - 4.28.1-1 * Wed Mar 4 2020 hexiujun <hexiujun1@huawei.com> - 4.28.1-1
- Package init - Package init