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