Don't use xdist on RHEL

epel10
Gwyn Ciesla 2 years ago
parent f1d863b702
commit 2c0c0b7f22

@ -4,7 +4,7 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
# NOTICE - Updating this package requires updating python-boto3 # NOTICE - Updating this package requires updating python-boto3
Version: 1.31.27 Version: 1.31.27
Release: 1%{?dist} Release: 2%{?dist}
Summary: Low-level, data-driven core of boto 3 Summary: Low-level, data-driven core of boto 3
License: Apache-2.0 License: Apache-2.0
@ -26,8 +26,10 @@ BuildRequires: python3-devel
# For tests: # For tests:
BuildRequires: python3-jsonschema BuildRequires: python3-jsonschema
BuildRequires: python3-pytest BuildRequires: python3-pytest
%if %{undefined rhel}
BuildRequires: python3-pytest-xdist BuildRequires: python3-pytest-xdist
%endif %endif
%endif
Provides: bundled(python3-six) = 1.16.0 Provides: bundled(python3-six) = 1.16.0
Provides: bundled(python3-requests) = 2.7.0 Provides: bundled(python3-requests) = 2.7.0
@ -54,7 +56,7 @@ rm -vr tests/functional/leak
%check %check
%if %{with tests} %if %{with tests}
%pytest %pytest %{!?rhel:-n auto}
%else %else
%pyproject_check_import -e botocore.crt.auth -e botocore.vendored* %pyproject_check_import -e botocore.crt.auth -e botocore.vendored*
%endif %endif
@ -64,6 +66,9 @@ rm -vr tests/functional/leak
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Wed Aug 16 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.31.27-2
- Don't use xdist on RHEL.
* Wed Aug 16 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.31.27-1 * Wed Aug 16 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.31.27-1
- 1.31.27 - 1.31.27

Loading…
Cancel
Save