Hello community,

here is the log from the commit of package python for openSUSE:Factory checked 
in at 2015-05-23 13:04:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python (Old)
 and      /work/SRC/openSUSE:Factory/.python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python/python-base.changes       2014-12-25 
23:19:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes  2015-05-23 
13:04:10.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 19 11:18:12 UTC 2015 - [email protected]
+
+- Reenable test_posix on aarch64
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python/python.changes    2015-03-09 
10:03:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python.new/python.changes       2015-05-23 
13:04:10.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 14 13:27:09 UTC 2015 - [email protected]
+
+- for SLE 12 SP1, disable SSL verification-by-default for backwards
+  compatibility (python-2.7.9-sles-disable-verification-by-default.patch)
+
+-------------------------------------------------------------------

New:
----
  python-2.7.9-sles-disable-verification-by-default.patch

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

Other differences:
------------------
++++++ python-base.spec ++++++
--- /var/tmp/diff_new_pack.CM9fYU/_old  2015-05-23 13:04:12.000000000 +0200
+++ /var/tmp/diff_new_pack.CM9fYU/_new  2015-05-23 13:04:12.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-base
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -54,6 +54,8 @@
 Patch32:        python-2.7-urllib2-localnet-ssl.patch
 # PATCH-FIX-UPSTREAM accept directory-based CA paths as well
 Patch33:        python-2.7.9-ssl_ca_path.patch
+# PATCH-FEATURE-SLE disable SSL verification-by-default in http clients
+Patch34:        python-2.7.9-sles-disable-verification-by-default.patch
 # COMMON-PATCH-END
 %define         python_version    %(echo %{tarversion} | head -c 3)
 BuildRequires:  automake
@@ -144,6 +146,9 @@
 %patch31 -p1
 %patch32 -p1
 %patch33 -p1
+%if %{suse_version} == 1315
+%patch34 -p1
+%endif
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac
@@ -202,10 +207,6 @@
 # qemu bug (siginterrupt handling)
 EXCLUDE="$EXCLUDE test_signal"
 %endif
-%ifarch aarch64
-# qemu bug (wrong USE_UID16)
-EXCLUDE="$EXCLUDE test_posix"
-%endif
 
 # This test (part of test_uuid) requires real network interfaces
 # so that ifconfig output has "HWaddr <something>".  Some kvm instances

++++++ python-doc.spec ++++++
--- /var/tmp/diff_new_pack.CM9fYU/_old  2015-05-23 13:04:12.000000000 +0200
+++ /var/tmp/diff_new_pack.CM9fYU/_new  2015-05-23 13:04:12.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-doc
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           python-doc
 Version:        2.7.9
 Release:        0
@@ -54,6 +55,8 @@
 Patch32:        python-2.7-urllib2-localnet-ssl.patch
 # PATCH-FIX-UPSTREAM accept directory-based CA paths as well
 Patch33:        python-2.7.9-ssl_ca_path.patch
+# PATCH-FEATURE-SLE disable SSL verification-by-default in http clients
+Patch34:        python-2.7.9-sles-disable-verification-by-default.patch
 # COMMON-PATCH-END
 Provides:       pyth_doc
 Provides:       pyth_ps
@@ -98,6 +101,9 @@
 %patch31 -p1
 %patch32 -p1
 %patch33 -p1
+%if %{suse_version} == 1315
+%patch34 -p1
+%endif
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac

++++++ python.spec ++++++
--- /var/tmp/diff_new_pack.CM9fYU/_old  2015-05-23 13:04:12.000000000 +0200
+++ /var/tmp/diff_new_pack.CM9fYU/_new  2015-05-23 13:04:12.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           python
 Version:        2.7.9
 Release:        0
@@ -58,6 +59,8 @@
 Patch32:        python-2.7-urllib2-localnet-ssl.patch
 # PATCH-FIX-UPSTREAM accept directory-based CA paths as well
 Patch33:        python-2.7.9-ssl_ca_path.patch
+# PATCH-FEATURE-SLE disable SSL verification-by-default in http clients
+Patch34:        python-2.7.9-sles-disable-verification-by-default.patch
 # COMMON-PATCH-END
 BuildRequires:  automake
 BuildRequires:  db-devel
@@ -70,8 +73,8 @@
 BuildRequires:  readline-devel
 BuildRequires:  sqlite-devel
 BuildRequires:  tk-devel
-BuildRequires:  pkgconfig(x11)
 BuildRequires:  xz
+BuildRequires:  pkgconfig(x11)
 %define         python_version    %(echo %{tarversion} | head -c 3)
 %define         idle_name         idle
 Requires:       python-base = %{version}
@@ -178,6 +181,9 @@
 %patch31 -p1
 %patch32 -p1
 %patch33 -p1
+%if %{suse_version} == 1315
+%patch34 -p1
+%endif
 
 # drop Autoconf version requirement
 sed -i 's/^version_required/dnl version_required/' configure.ac


++++++ python-2.7.9-sles-disable-verification-by-default.patch ++++++
Index: Python-2.7.9/Lib/ssl.py
===================================================================
--- Python-2.7.9.orig/Lib/ssl.py        2015-05-14 15:02:05.872792333 +0200
+++ Python-2.7.9/Lib/ssl.py     2015-05-14 15:23:27.874013424 +0200
@@ -469,7 +469,8 @@
     return context
 
 # Used by http.client if no context is explicitly passed.
-_create_default_https_context = create_default_context
+# PATCH-SLE: still use unverified context. see PEP476
+_create_default_https_context = _create_unverified_context
 
 
 # Backwards compatibility alias, even though it's not a public name.


Reply via email to