!10 Fix build error for python3.11
From: @wk333 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
1fc1f21760
@ -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 <wangjunqi@kylinos.cn> - 1.6.0-1
|
||||
- Update package to version 1.6.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user