Fix build error for python3.11
This commit is contained in:
parent
1e8e177d0a
commit
bb2138bdc0
@ -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.6.0
|
Version: 1.6.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
|
||||||
@ -90,7 +90,7 @@ mv %{buildroot}/doclist.lst .
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} testing
|
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
|
%files -n python3-pytest-forked -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
@ -99,6 +99,9 @@ rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython-
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 24 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.6.0-1
|
||||||
- Update package to version 1.6.0
|
- Update package to version 1.6.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user