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