Hello community,

here is the log from the commit of package python-cryptography for 
openSUSE:Factory checked in at 2016-03-05 11:21:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  
2016-01-15 10:39:21.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cryptography.new/python-cryptography.changes 
    2016-03-05 11:21:45.000000000 +0100
@@ -1,0 +2,13 @@
+Wed Mar  2 21:47:58 UTC 2016 - dims...@opensuse.org
+
+- Add pkg-config BuildRequires: in order for the last introduced
+  condition to apply the patch to work, pkg-config has to be
+  present.
+
+-------------------------------------------------------------------
+Wed Mar  2 14:19:46 UTC 2016 - meiss...@suse.com
+
+- cryptography-new-bio-new-type.patch: openssl 1.0.2g changed
+  the type of BIO_new_mem_buf() (added a const).
+
+-------------------------------------------------------------------

New:
----
  cryptography-new-bio-new-type.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cryptography.spec ++++++
--- /var/tmp/diff_new_pack.CS56sm/_old  2016-03-05 11:21:46.000000000 +0100
+++ /var/tmp/diff_new_pack.CS56sm/_new  2016-03-05 11:21:46.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cryptography
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,10 @@
 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
 BuildRequires:  python-devel
 BuildRequires:  python-enum34
@@ -77,6 +80,9 @@
 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


++++++ cryptography-new-bio-new-type.patch ++++++
Index: cryptography-1.2.1/src/_cffi_src/openssl/bio.py
===================================================================
--- cryptography-1.2.1.orig/src/_cffi_src/openssl/bio.py
+++ cryptography-1.2.1/src/_cffi_src/openssl/bio.py
@@ -99,7 +99,7 @@ BIO *BIO_pop(BIO *);
 BIO *BIO_next(BIO *);
 BIO *BIO_find_type(BIO *, int);
 BIO_METHOD *BIO_s_mem(void);
-BIO *BIO_new_mem_buf(void *, int);
+BIO *BIO_new_mem_buf(const void *, int);
 BIO_METHOD *BIO_s_file(void);
 BIO *BIO_new_file(const char *, const char *);
 BIO *BIO_new_fp(FILE *, int);


Reply via email to