diff --git a/python-oauthlib.spec b/python-oauthlib.spec index 5cf45e4..6b00b6b 100644 --- a/python-oauthlib.spec +++ b/python-oauthlib.spec @@ -48,6 +48,9 @@ very little effort. %pyproject_save_files oauthlib %check +# enable SHA-1 signatures for RSA tests +# also see https://github.com/pyca/cryptography/pull/6931 and rhbz#2060343 +export OPENSSL_ENABLE_SHA1_SIGNATURES=yes %{pytest} %files -n python3-oauthlib -f %{pyproject_files}