14
0

Accepting request 212807 from devel:languages:python

Add patch in .changes (forwarded request 212806 from posophe)

OBS-URL: https://build.opensuse.org/request/show/212807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyOpenSSL?expand=0&rev=16
This commit is contained in:
Stephan Kulow
2014-01-07 12:59:41 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 2 deletions

11
bug-lp-1265482.diff Normal file
View File

@@ -0,0 +1,11 @@
--- OpenSSL/test/test_crypto.py
+++ OpenSSL/test/test_crypto.py
@@ -608,7 +608,7 @@
L{PKeyType.generate_key} generates an RSA key when passed
L{TYPE_RSA} as a type and a reasonable number of bits.
"""
- bits = 128
+ bits = 2048
key = PKey()
key.generate_key(TYPE_RSA, bits)
self.assertEqual(key.type(), TYPE_RSA)

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyOpenSSL-doc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 2 11:17:23 UTC 2014 - dmueller@suse.com
-Add bug-lp-1265482.diff; fix testsuite for SLE11 (bnc#855666)
-------------------------------------------------------------------
Fri Sep 13 14:02:43 UTC 2013 - jmatejek@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyOpenSSL
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@ Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
Patch0: bug-lp-1265482.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libopenssl-devel
BuildRequires: python-devel
@@ -44,6 +45,7 @@ High-level wrapper around a subset of the OpenSSL library, includes
%prep
%setup -q -n pyOpenSSL-%{version}
%patch0
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build