!16 修复python-werkzeug在22.03分支%check阶段编译失败

Merge pull request !16 from programmer12/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-08 06:59:56 +00:00 committed by Gitee
commit be467d0bc8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,13 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-werkzeug Name: python-werkzeug
Version: 1.0.1 Version: 1.0.1
Release: 1 Release: 2
Summary: The comprehensive WSGI web application library. Summary: The comprehensive WSGI web application library.
License: BSD-3-Clause License: BSD-3-Clause
URL: https://palletsprojects.com/p/werkzeug/ URL: https://palletsprojects.com/p/werkzeug/
Source0: https://github.com/pallets/werkzeug/archive/1.0.1.tar.gz Source0: https://github.com/pallets/werkzeug/archive/1.0.1.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-werkzeug
Requires: python3-pytest Requires: python3-pytest
Requires: python3-pytest-timeout Requires: python3-pytest-timeout
@ -155,7 +156,8 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 PYTHONPATH=%{buildroot}%{python3_sitelib}
/usr/bin/pytest -p no:unraisableexception
%files -n python3-werkzeug -f filelist.lst %files -n python3-werkzeug -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -164,5 +166,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Dec 21 2021 liwu <liwu13@huawei.com> - 1.2.1-2
- fix test failures due to unhandled exceptions being thrown without being propagated to caller
* Thu Feb 04 2021 Python_Bot <Python_Bot@openeuler.org> * Thu Feb 04 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated