From 2c0c0b7f22693900f364b033efcbb70cce51c786 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 16 Aug 2023 15:08:10 -0500 Subject: [PATCH] Don't use xdist on RHEL --- python-botocore.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-botocore.spec b/python-botocore.spec index eacae36..97714a3 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} # NOTICE - Updating this package requires updating python-boto3 Version: 1.31.27 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level, data-driven core of boto 3 License: Apache-2.0 @@ -26,8 +26,10 @@ BuildRequires: python3-devel # For tests: BuildRequires: python3-jsonschema BuildRequires: python3-pytest +%if %{undefined rhel} BuildRequires: python3-pytest-xdist %endif +%endif Provides: bundled(python3-six) = 1.16.0 Provides: bundled(python3-requests) = 2.7.0 @@ -54,7 +56,7 @@ rm -vr tests/functional/leak %check %if %{with tests} -%pytest +%pytest %{!?rhel:-n auto} %else %pyproject_check_import -e botocore.crt.auth -e botocore.vendored* %endif @@ -64,6 +66,9 @@ rm -vr tests/functional/leak %license LICENSE.txt %changelog +* Wed Aug 16 2023 Gwyn Ciesla - 1.31.27-2 +- Don't use xdist on RHEL. + * Wed Aug 16 2023 Gwyn Ciesla - 1.31.27-1 - 1.31.27