Hello community, here is the log from the commit of package python-cryptography for openSUSE:Factory checked in at 2015-09-24 07:16:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old) and /work/SRC/openSUSE:Factory/.python-cryptography.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cryptography" Changes: -------- --- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes 2015-08-28 08:25:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-cryptography.new/python-cryptography.changes 2015-09-24 07:16:48.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Sep 17 13:11:06 UTC 2015 - tbecht...@suse.com + +- Add disable-uneven-sizes-tests.patch (bnc#944204) + openssl in SLE12SP1 doesn't allow uneven bit sizes for rsa keys + +------------------------------------------------------------------- New: ---- disable-uneven-sizes-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cryptography.spec ++++++ --- /var/tmp/diff_new_pack.x5A4TS/_old 2015-09-24 07:16:50.000000000 +0200 +++ /var/tmp/diff_new_pack.x5A4TS/_new 2015-09-24 07:16:50.000000000 +0200 @@ -28,6 +28,8 @@ 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 @@ # prepare vectors module tar xvzf %{SOURCE3} +%patch1 -p1 + %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build ++++++ disable-uneven-sizes-tests.patch ++++++ Index: cryptography-1.0/tests/hazmat/primitives/test_rsa.py =================================================================== --- cryptography-1.0.orig/tests/hazmat/primitives/test_rsa.py +++ cryptography-1.0/tests/hazmat/primitives/test_rsa.py @@ -91,7 +91,8 @@ class TestRSA(object): ("public_exponent", "key_size"), itertools.product( (3, 5, 65537), - (1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1536, 2048) + #(1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1536, 2048) + (1024, 1026, 1028, 1030, 1536, 2048) ) ) def test_generate_rsa_keys(self, backend, public_exponent, key_size):