diff --git a/matrix-synapse.spec b/matrix-synapse.spec index 1728734..95544ba 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -79,6 +79,9 @@ the ecosystem. %prep %autosetup -p1 -n %{srcname}-%{ghversion}%{rcx} +# Worlaround fedora not having the right version of python crypto yet. +sed --debug -i "s/cryptography>=3.4.7;python_version>='3.6'/cryptography>=3.2.1/" synapse/python_dependencies.py + # We don't support the built-in client so remove all the bundled JS. rm -rf synapse/static