From d8e81875b9697686913648b965d257fe8c27349b Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 26 Jul 2024 15:14:56 -0400 Subject: [PATCH] Avoid SHA-1 test failures Originally only necessary for RHEL 10+, the deprecation of SHA-1 signature verification in openssl now also applies to Fedora 41. This is a follow-up to commit 2fdea5c974cdc70499bca138217dba8ba5c14419. https://fedoraproject.org/wiki/Changes/OpenSSLDistrustSHA1SigVer https://fedoraproject.org/wiki/SHA1SignaturesGuidance --- awscli2.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/awscli2.spec b/awscli2.spec index a887d8d..183ce18 100644 --- a/awscli2.spec +++ b/awscli2.spec @@ -110,9 +110,7 @@ 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 %{!?rhel:--numprocesses=auto --dist=loadfile --maxprocesses=4} tests/unit tests/functional