Workaround matrix requiring a cryptography fedora doesn't have.

This commit is contained in:
Alex Manning 2021-04-01 13:09:06 +01:00
parent e4f6625057
commit 41c3d76b55

View file

@ -79,6 +79,9 @@ the ecosystem.
%prep %prep
%autosetup -p1 -n %{srcname}-%{ghversion}%{rcx} %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. # We don't support the built-in client so remove all the bundled JS.
rm -rf synapse/static rm -rf synapse/static