From 18c8cbd3a5ef0ec62131de21032a9f8e7931d716 Mon Sep 17 00:00:00 2001 From: renliang16 Date: Wed, 22 Jun 2022 12:54:31 +0000 Subject: [PATCH] To modify pytest-forked Check, run check --- python-pytest-forked.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec index 75ca925..4b9f736 100644 --- a/python-pytest-forked.spec +++ b/python-pytest-forked.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-forked Version: 1.4.0 -Release: 1 +Release: 2 Summary: run tests in isolated forked subprocesses License: MIT URL: https://github.com/pytest-dev/pytest-forked @@ -86,7 +86,8 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %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 %dir %{python3_sitelib}/* @@ -95,6 +96,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Jun 22 2022 renliang - 1.4.0-2 +- To modify check, run check + * Thu May 19 2022 renliang - 1.4.0-1 - Upgrade package python3-pytest-forked to version 1.4.0