From ee741f684c512b5a1a76ca7bde8041a59f0f70cc Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Wed, 28 Apr 2021 13:03:20 +0100 Subject: [PATCH] Fedora 22 has older cryptography --- matrix-synapse.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-synapse.spec b/matrix-synapse.spec index 3d8aae8..7013e76 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -87,7 +87,7 @@ echo %{rcv} %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 +sed --debug -i "s/cryptography>=3.4.7/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