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