From a19f7b49b8a1eac9fc4324c24ea70a21c5381418 Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Tue, 18 Jan 2022 23:40:57 +0000 Subject: [PATCH] Temporary fix patches. --- matrix-synapse.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/matrix-synapse.spec b/matrix-synapse.spec index 027f6e9..7aec212 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -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