diff --git a/python-execnet.spec b/python-execnet.spec index 873d2fc844fbfcbd1e0c6ce9b4fec51dc46ae364..6c90cc1cd4d11fb22ffa2b3453271f0f7167fc0c 100644 --- a/python-execnet.spec +++ b/python-execnet.spec @@ -1,11 +1,9 @@ -# open this flag when support more pkg -%bcond_with tests %global srcname execnet Summary: Distributed Python deployment and communication Name: python-%{srcname} Version: 2.0.2 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT URL: https://github.com/pytest-dev/execnet Source0: %pypi_source @@ -24,11 +22,8 @@ minimal and fast API targetting the following uses: %package -n python3-%{srcname} Summary: Elastic Python Deployment -BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-apipkg python3-pytest +BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-pytest BuildRequires: python3-pytest-timeout %{_bindir}/sphinx-build-3 -%if %{with tests} -BuildRequires: python3-gevent -%endif %description -n python3-%{srcname} execnet provides a share-nothing model with channel-send/receive communication for distributing @@ -55,17 +50,15 @@ find . -type f -a \( -name '*.py' -o -name 'py.*' \) \ %pyproject_install %check -%if %{with tests} PYTEST_SELECT='not test_popen_io[gevent-sys.executable]' PYTEST_SELECT+=' and not [gevent-socket]' PYTEST_SELECT+=' and not [eventlet-socket]' PYTEST_SELECT+=' and not [python2.7]' -PYTHONPATH=$(pwd) \ +PYTHONPATH=$(pwd)/src \ py.test-%{python3_version} -r s \ -k "$PYTEST_SELECT" \ testing \ --timeout=30 -%endif %files -n python3-%{srcname} %license LICENSE @@ -73,6 +66,9 @@ py.test-%{python3_version} -r s \ %{python3_sitelib}/%{srcname}*/ %changelog +* Mon Sep 2 2024 Shuo Wang - 2.0.2-3 +- remove unused BuildRequires + * Fri Aug 16 2024 OpenCloudOS Release Engineering - 2.0.2-2 - Rebuilt for loongarch release