1
0

Accepting request 364667 from home:msmeissn:branches:devel:languages:python

- cryptography-new-bio-new-type.patch: openssl 1.0.2g changed
  the type of BIO_new_mem_buf() (added a const).

OBS-URL: https://build.opensuse.org/request/show/364667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=32
This commit is contained in:
2016-03-02 17:41:00 +00:00
committed by Git OBS Bridge
parent b6b9b9ff49
commit c7db0b07f9
3 changed files with 25 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cryptography
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@ Source3: https://pypi.python.org/packages/source/c/cryptography-vectors/c
Source4: https://pypi.python.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
# PATCH-FIX-OPENSUSE cryptography-new-bio-new-type.patch fix build with openssl 1.0.2g
Patch2: cryptography-new-bio-new-type.patch
BuildRequires: libopenssl-devel
BuildRequires: python-cffi >= 1.1.0
BuildRequires: python-devel
@@ -77,6 +79,9 @@ functions.
tar xvzf %{SOURCE3}
%patch1 -p1
if pkg-config --atleast-version=1.0.2g openssl; then
%patch2 -p1
fi
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build