From adbd041dbe2319d99b85b6d6cf2c6a3bd0d555c7 Mon Sep 17 00:00:00 2001 From: abushwang Date: Mon, 2 Sep 2024 16:37:06 +0800 Subject: [PATCH] remove unused BuildRequires Signed-off-by: abushwang --- python-execnet.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/python-execnet.spec b/python-execnet.spec index 873d2fc..6c90cc1 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 -- Gitee