diff --git a/pytest-forked-1.4.0.tar.gz b/pytest-forked-1.4.0.tar.gz deleted file mode 100644 index facdd8b1075a3de44241092fc67e43d6f54bb0a8..0000000000000000000000000000000000000000 Binary files a/pytest-forked-1.4.0.tar.gz and /dev/null differ diff --git a/pytest-forked-1.6.0.tar.gz b/pytest-forked-1.6.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0045a535645b0d08af52bb0ab3f56dda49f5427a Binary files /dev/null and b/pytest-forked-1.6.0.tar.gz differ diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec index 3794a41eea032e20d05b4a231ad7366fe0610043..c47e4740ac649fdddfe099e359fa8c4a994c6660 100644 --- a/python-pytest-forked.spec +++ b/python-pytest-forked.spec @@ -1,12 +1,13 @@ %global _empty_manifest_terminate_build 0 -Name: python-pytest-forked -Version: 1.4.0 -Release: 3 -Summary: run tests in isolated forked subprocesses -License: MIT -URL: https://github.com/pytest-dev/pytest-forked -Source0: https://files.pythonhosted.org/packages/f1/bc/0121a2e386b261b69f4f5aa48e5304c947451dce70d68628cb28d5cd0d28/pytest-forked-1.4.0.tar.gz -BuildArch: noarch +Name: python-pytest-forked +Version: 1.6.0 +Release: 1 +Summary: run tests in isolated forked subprocesses +License: MIT +URL: https://github.com/pytest-dev/pytest-forked +Source0: https://files.pythonhosted.org/packages/8c/c9/93ad2ba2413057ee694884b88cf7467a46c50c438977720aeac26e73fdb7/pytest-forked-1.6.0.tar.gz +BuildArch: noarch + %description pytest-forked: run each test in a forked subprocess .. warning:: this is a extraction of the xdist --forked module, future maintenance beyond the bare @@ -16,21 +17,21 @@ forked subprocess to survive SEGFAULTS or otherwise dying processes.|python| |version| |ci| |pre-commit| |black|.. |versio .. |ci| image:: . %package -n python3-pytest-forked -Summary: run tests in isolated forked subprocesses -Provides: python-pytest-forked +Summary: run tests in isolated forked subprocesses +Provides: python-pytest-forked = %{version}-%{release} # Base build requires -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel # General requires -BuildRequires: python3-py -BuildRequires: python3-pytest -BuildRequires: python3-setuptools_scm +BuildRequires: python3-py +BuildRequires: python3-pytest +BuildRequires: python3-setuptools_scm # General requires -Requires: python3-py -Requires: python3-pytest +Requires: python3-py +Requires: python3-pytest %description -n python3-pytest-forked pytest-forked: run each test in a forked subprocess .. warning:: this is a extraction of the xdist --forked module, future maintenance beyond the bare @@ -40,8 +41,8 @@ forked subprocess to survive SEGFAULTS or otherwise dying processes.|python| |version| |ci| |pre-commit| |black|.. |versio .. |ci| image:: . %package help -Summary: run tests in isolated forked subprocesses -Provides: python3-pytest-forked-doc +Summary: Development documents and examples for pytest-forked +Provides: python3-pytest-forked-doc %description help pytest-forked: run each test in a forked subprocess .. warning:: this is a extraction of the xdist --forked module, future maintenance beyond the bare @@ -58,28 +59,30 @@ forked subprocess to survive SEGFAULTS or otherwise dying processes.|python| %install %py3_install - install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -96,6 +99,9 @@ rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython- %{_docdir}/* %changelog +* Fri Mar 24 2023 wangjunqi - 1.6.0-1 +- Update package to version 1.6.0 + * Thu Dec 29 2022 wulei - 1.4.0-3 - Rectify the compilation failure @@ -110,4 +116,3 @@ rm -f %{buildroot}%{python3_sitelib}/pytest_forked/__pycache__/__init__.cpython- * Tue Jul 06 2021 wangdi - 1.0.2-1 - Init package for version 1.0.2 -