forked from pool/python-cryptography
Accepting request 377061 from home:stroeder:branches:devel:languages:python
update to 1.3.1 OBS-URL: https://build.opensuse.org/request/show/377061 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=37
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-cryptography
|
||||
Version: 1.2.1
|
||||
Version: 1.3.1
|
||||
Release: 0
|
||||
Summary: Python library which exposes cryptographic recipes and primitives
|
||||
License: Apache-2.0 or BSD-3-Clause
|
||||
@@ -30,8 +30,6 @@ 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: pkg-config
|
||||
BuildRequires: python-cffi >= 1.1.0
|
||||
@@ -80,9 +78,6 @@ 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
|
||||
|
Reference in New Issue
Block a user