14
0

Accepting request 521999 from home:vitezslav_cizek:branches:devel:languages:python

- Disable memleak tests to fix build with OpenSSL 1.1 (bsc#1055478)
  * add skip_openssl_memleak_test.patch

OBS-URL: https://build.opensuse.org/request/show/521999
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=69
This commit is contained in:
Jan Matejek
2017-09-07 14:49:40 +00:00
committed by Git OBS Bridge
parent cb4e6be407
commit ba38ae853f
3 changed files with 24 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ Source3: https://files.pythonhosted.org/packages/source/c/cryptography_ve
Source4: https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz.asc
# PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204
Patch1: disable-uneven-sizes-tests.patch
Patch2: skip_openssl_memleak_test.patch
BuildRequires: %{python_module asn1crypto >= 0.21.0}
BuildRequires: %{python_module cffi >= 1.4.1}
BuildRequires: %{python_module devel}
@@ -87,6 +88,7 @@ functions.
tar xvzf %{SOURCE3}
%patch1 -p1
%patch2 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"