diff --git a/python-cryptography.spec b/python-cryptography.spec index 3670a2a..e6fe8cd 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -98,6 +98,11 @@ cd ../.. %build export RUSTFLAGS="%build_rustflags" export OPENSSL_NO_VENDOR=1 +# Temporary work-around for using pyo3 0.20 with Python 3.13 on ELN; This can +# be dropped when a cryptography release bumps to pyo3 >= 0.22 +%if 0%{?rhel} +export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 +%endif %pyproject_wheel