Temporary fix patches.

This commit is contained in:
Alex Manning 2022-01-18 23:40:57 +00:00
parent 69bd1e29de
commit a19f7b49b8

View file

@ -24,8 +24,8 @@ Source2: synapse.service
Source4: synapse@.service
# non-upstreamable patch to accept any version of python-cryptography, see RHBZ#1978949
Patch1: 0001-relax-cryptography-dependency-version-requirement.patch
Patch2: 0002-Remove-dependency-on-non-standard-mock.patch
#Patch1: 0001-relax-cryptography-dependency-version-requirement.patch
#Patch2: 0002-Remove-dependency-on-non-standard-mock.patch
BuildArch: noarch
BuildRequires: python3-devel
@ -93,6 +93,9 @@ the ecosystem.
%prep
%autosetup -p1 -n %{srcname}-%{ghversion}%{rcx}
sed -i 's|"cryptography>=3.4.7",|"cryptography>=3.4",|' synapse/python_dependencies.py
rm tests/storage/test_background_update.py
# We don't support the built-in client so remove all the bundled JS.
rm -rf synapse/static