14
0

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

- python-cryptography-enable-gost.patch: temporary patch
  to run tests against 1.0.2i, GOST cert extraction now works.

OBS-URL: https://build.opensuse.org/request/show/430429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=47
This commit is contained in:
2016-09-27 09:43:50 +00:00
committed by Git OBS Bridge
parent cb531bfd99
commit 91095fb280
3 changed files with 42 additions and 1 deletions

View File

@@ -30,6 +30,10 @@ Source3: https://pypi.io/packages/source/c/cryptography_vectors/cryptogra
Source4: https://pypi.io/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-UPSTREAM: extract from upstream commit 8b8d51b752729f7237bb51274ccf158cbb4cfce0
Patch2: python-cryptography-enable-gost.patch
BuildRequires: libopenssl-devel
BuildRequires: pkg-config
BuildRequires: python-cffi >= 1.1.0
@@ -57,8 +61,8 @@ Requires: python-enum34
Requires: python-idna >= 2.0
Requires: python-ipaddress
Requires: python-pyasn1 >= 0.1.8
Requires: python-six >= 1.4.1
Requires: python-setuptools >= 11.3
Requires: python-six >= 1.4.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -75,6 +79,9 @@ functions.
%prep
%setup -q -n cryptography-%{version}
# remove if new upstream release is added (fixed upstream already)
%patch2 -p1
# prepare vectors module
tar xvzf %{SOURCE3}