14
0

Accepting request 334805 from home:tbechtold:branches:devel:languages:python

- Add 2293.patch for "osrandom engine already registered" (bnc#947679)

OBS-URL: https://build.opensuse.org/request/show/334805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=20
This commit is contained in:
2015-09-30 08:11:55 +00:00
committed by Git OBS Bridge
parent c6e8ed4e4a
commit 106ebe4d51
3 changed files with 80 additions and 0 deletions

View File

@@ -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-UPSTREAM 2293.patch bnc#947679 -- https://github.com/pyca/cryptography/pull/2293
Patch2: 2293.patch
BuildRequires: libopenssl-devel
BuildRequires: python-cffi >= 1.1.0
BuildRequires: python-devel
@@ -71,6 +73,7 @@ functions.
tar xvzf %{SOURCE3}
%patch1 -p1
%patch2 -p1
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build