diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..b32246e1f542ca420a1cba0b8e57e212d8f629fa --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,9 @@ +--- a/setup.py 1970-01-01 08:00:00.000000000 +0800 ++++ b/setup.py 2022-10-19 09:38:57.746598491 +0800 +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++from setuptools import setup ++ ++if __name__ == "__main__": ++ setup() diff --git a/pytest-xdist-2.5.0.tar.gz b/pytest-xdist-2.5.0.tar.gz deleted file mode 100644 index c595dc6f9082491b63ba180366e613c0b650528c..0000000000000000000000000000000000000000 Binary files a/pytest-xdist-2.5.0.tar.gz and /dev/null differ diff --git a/pytest-xdist-3.0.2.tar.gz b/pytest-xdist-3.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ea2bd9b621dae40b87762e95b90fd837dde798c1 Binary files /dev/null and b/pytest-xdist-3.0.2.tar.gz differ diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index d2549752a487c5b7c30c09ef3b6e1b692e11a56d..702e3cd2565d3612588c908358c321cee02a876d 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-xdist -Version: 2.5.0 +Version: 3.0.2 Release: 1 Summary: pytest xdist plugin for distributed testing and loop-on-failing modes License: MIT URL: https://github.com/pytest-dev/pytest-xdist -Source0: https://files.pythonhosted.org/packages/5d/43/9dbc32d297d6eae85d6c05dc8e8d3371061bd6cbe56a2f645d9ea4b53d9b/pytest-xdist-2.5.0.tar.gz +Source0: https://files.pythonhosted.org/packages/0b/74/3ba11ebecb6f3f69a472a3c19be65c46a1dd3efaa580d973118455c74c34/pytest-xdist-3.0.2.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch BuildRequires: python3-setuptools_scm @@ -20,7 +21,7 @@ pytest xdist plugin for distributed testing and loop-on-failing modes. %package -n python3-pytest-xdist Summary: pytest xdist plugin for distributed testing and loop-on-failing modes -Provides: python-pytest-xdist +Provides: python-pytest-xdist = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm @@ -34,7 +35,8 @@ Provides: python3-pytest-xdist-doc pytest xdist plugin for distributed testing and loop-on-failing modes. %prep -%autosetup -n pytest-xdist-2.5.0 +%autosetup -n pytest-xdist-%{version} +%patch0 %build %py3_build @@ -74,6 +76,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Oct 28 2022 wangjunqi - 3.0.2-1 +- Update package to version 3.0.2 + * Thu Jun 16 2022 OpenStack_SIG - 2.5.0-1 - Upgrade version for openstack yoga