!6 To modify pytest-forked Check, run check

From: @renliang16 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-06-23 00:57:31 +00:00 committed by Gitee
commit 2e9e9c6f0c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pytest-forked Name: python-pytest-forked
Version: 1.4.0 Version: 1.4.0
Release: 1 Release: 2
Summary: run tests in isolated forked subprocesses Summary: run tests in isolated forked subprocesses
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-forked URL: https://github.com/pytest-dev/pytest-forked
@ -86,7 +86,8 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
%{__python3} setup.py test PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} testing
rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython-310-pytest-6.2.5.pyc
%files -n python3-pytest-forked -f filelist.lst %files -n python3-pytest-forked -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -95,6 +96,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Wed Jun 22 2022 renliang <renliang@uniontech.com> - 1.4.0-2
- To modify check, run check
* Thu May 19 2022 renliang <renliang@uniontech.com> - 1.4.0-1 * Thu May 19 2022 renliang <renliang@uniontech.com> - 1.4.0-1
- Upgrade package python3-pytest-forked to version 1.4.0 - Upgrade package python3-pytest-forked to version 1.4.0