From bb2138bdc0bd6f0dbd6243d71163fbf694e105fb Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Sun, 23 Jul 2023 09:50:57 +0800 Subject: [PATCH] Fix build error for python3.11 --- python-pytest-forked.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec index c47e474..5974e99 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.6.0 -Release: 1 +Release: 2 Summary: run tests in isolated forked subprocesses License: MIT URL: https://github.com/pytest-dev/pytest-forked @@ -90,7 +90,7 @@ mv %{buildroot}/doclist.lst . %check PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} testing -rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython-310-pytest-*.pyc +rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython-*-pytest-*.pyc %files -n python3-pytest-forked -f filelist.lst %dir %{python3_sitelib}/* @@ -99,6 +99,9 @@ rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython- %{_docdir}/* %changelog +* Sun Jul 23 2023 wangkai <13474090681@163.com> - 1.6.0-2 +- Fix build error for python3.11 + * Fri Mar 24 2023 wangjunqi - 1.6.0-1 - Update package to version 1.6.0