From 2fdea5c974cdc70499bca138217dba8ba5c14419 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Fri, 28 Jul 2023 10:19:30 -0700 Subject: [PATCH] Fix build on ELN --- awscli2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awscli2.spec b/awscli2.spec index af5ed62..c21b80e 100644 --- a/awscli2.spec +++ b/awscli2.spec @@ -104,6 +104,9 @@ sed -i '/self.driver.start(env=env)/i \ \ \ \ \ \ \ \ env["PYTHONPATH"] = "%{bui tests/utils/botocore/__init__.py export TESTS_REMOVE_REPO_ROOT_FROM_PATH=1 TZ=UTC +%if 0%{?rhel} +export OPENSSL_ENABLE_SHA1_SIGNATURES=yes +%endif %pytest --verbose --numprocesses=auto --dist=loadfile tests/unit tests/functional