Fedora 22 has older cryptography

This commit is contained in:
Alex Manning 2021-04-28 13:03:20 +01:00
parent bfc6883e7a
commit ee741f684c

View file

@ -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