forked from pool/python-cryptography
Accepting request 331785 from Cloud:OpenStack:Master
- Add disable-uneven-sizes-tests.patch (bnc#944204) openssl in SLE12SP1 doesn't allow uneven bit sizes for rsa keys OBS-URL: https://build.opensuse.org/request/show/331785 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
9edc770d71
commit
c6e8ed4e4a
@@ -28,6 +28,8 @@ Source1: https://pypi.python.org/packages/source/c/cryptography/cryptogra
|
||||
Source2: %{name}.keyring
|
||||
Source3: https://pypi.python.org/packages/source/c/cryptography-vectors/cryptography_vectors-%{version}.tar.gz
|
||||
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
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: python-cffi >= 1.1.0
|
||||
BuildRequires: python-devel
|
||||
@@ -68,6 +70,8 @@ functions.
|
||||
# prepare vectors module
|
||||
tar xvzf %{SOURCE3}
|
||||
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
|
||||
|
Reference in New Issue
Block a user