Temporary fix patches.
This commit is contained in:
parent
69bd1e29de
commit
a19f7b49b8
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue