Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-12-21 12:04:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-11-02 16:28:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-12-21 12:02:58.000000000 +0100 @@ -1,0 +2,20 @@ +Fri Dec 12 17:11:51 UTC 2014 - [email protected] + +- update to 2.7.9 + * contains full backport of ssl module from Python 3.4 (PEP466) + * HTTPS certificate validation enabled by default (PEP476) + * SSLv3 disabled by default (bnc#901715) + * backported ensurepip module (PEP477) + * fixes several missing CVEs from last release: CVE-2013-1752, + CVE-2013-1753 + * dozens of minor bugfixes +- dropped upstreamed patches: python-2.7.6-poplib.patch, + smtplib_maxline-2.7.patch, xmlrpc_gzip_27.patch +- dropped patch python-2.7.3-ssl_ca_path.patch because we don't need it + with ssl module from Python 3 +- libffi was upgraded upstream, seems to contain our changes, + so dropping libffi-ppc64le.diff as well +- python-2.7-urllib2-localnet-ssl.patch - properly remove unconditional + "import ssl" from test_urllib2_localnet that caused it to fail without ssl + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python/python-doc.changes 2014-10-05 20:31:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2014-12-21 12:02:58.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Dec 12 17:11:51 UTC 2014 - [email protected] + +- update to 2.7.9 +- drop HTML doc tarball, build HTML documentation from source +- set fixed doc build date, lower sphinx requirement (for older openSUSE) + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python/python.changes 2014-11-02 16:28:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2014-12-21 12:02:58.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 12 17:11:51 UTC 2014 - [email protected] + +- update to 2.7.9 + +------------------------------------------------------------------- Old: ---- Python-2.7.8.tar.xz Python-2.7.8.tar.xz.asc libffi-ppc64le.diff python-2.7.3-ssl_ca_path.patch python-2.7.6-poplib.patch python-2.7.8-docs-html.tar.bz2 python-2.7.8-docs-pdf-a4.tar.bz2 python-2.7.8-docs-pdf-letter.tar.bz2 smtplib_maxline-2.7.patch xmlrpc_gzip_27.patch New: ---- Python-2.7.9.tar.xz Python-2.7.9.tar.xz.asc python-2.7-urllib2-localnet-ssl.patch python-2.7.9-docs-pdf-a4.tar.bz2 python-2.7.9-docs-pdf-letter.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base.spec ++++++ --- /var/tmp/diff_new_pack.wlBZq5/_old 2014-12-21 12:03:01.000000000 +0100 +++ /var/tmp/diff_new_pack.wlBZq5/_new 2014-12-21 12:03:01.000000000 +0100 @@ -17,7 +17,7 @@ Name: python-base -Version: 2.7.8 +Version: 2.7.9 Release: 0 Summary: Python Interpreter base package License: Python-2.0 @@ -43,22 +43,15 @@ Patch10: sparc_longdouble.patch Patch13: python-2.7.2-fix_date_time_compiler.patch Patch17: remove-static-libpython.diff -# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions -Patch18: python-2.7.3-ssl_ca_path.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 [email protected] -- gettext: when looking in default_localedir also check in locale-bundle. Patch20: python-bundle-lang.patch # PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module Patch22: python-2.7.4-aarch64.patch Patch24: python-bsddb6.diff -# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module -Patch25: libffi-ppc64le.diff -# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client -Patch26: xmlrpc_gzip_27.patch -# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib -Patch28: smtplib_maxline-2.7.patch -Patch29: python-2.7.6-poplib.patch -# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +# PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31: python-2.7.7-mhlib-linkcount.patch +# PATCH-FIX-UPSTREAM remove unconditional "import ssl" from test +Patch32: python-2.7-urllib2-localnet-ssl.patch # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -143,15 +136,11 @@ %patch10 -p1 %patch13 -p1 %patch17 -p1 -%patch18 -p1 %patch20 -p1 %patch22 -p1 %patch24 -p1 -%patch25 -p0 -%patch26 -p1 -%patch28 -p1 -%patch29 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -334,6 +323,7 @@ %{_libdir}/python%{python_version}/distutils %{_libdir}/python%{python_version}/email %{_libdir}/python%{python_version}/encodings +%{_libdir}/python%{python_version}/ensurepip %{_libdir}/python%{python_version}/hotshot %{_libdir}/python%{python_version}/importlib %{_libdir}/python%{python_version}/json ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.wlBZq5/_old 2014-12-21 12:03:01.000000000 +0100 +++ /var/tmp/diff_new_pack.wlBZq5/_new 2014-12-21 12:03:01.000000000 +0100 @@ -16,7 +16,7 @@ # Name: python-doc -Version: 2.7.8 +Version: 2.7.9 Release: 0 Summary: Additional Package Documentation for Python License: Python-2.0 @@ -26,15 +26,12 @@ Source0: %{tarname}.tar.xz # docs for current version are regenerated every day # this messes with autobuild "file changed" checks -#Source1: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-html.tar.bz2 #Source2: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-pdf-a4.tar.bz2 #Source3: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-pdf-letter.tar.bz2 -Source1: python-%{version}-docs-html.tar.bz2 Source2: python-%{version}-docs-pdf-a4.tar.bz2 Source3: python-%{version}-docs-pdf-letter.tar.bz2 -%if 0%{suse_version} <= 1210 +BuildRequires: python-Sphinx BuildRequires: xz -%endif # COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch @@ -46,22 +43,15 @@ Patch10: sparc_longdouble.patch Patch13: python-2.7.2-fix_date_time_compiler.patch Patch17: remove-static-libpython.diff -# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions -Patch18: python-2.7.3-ssl_ca_path.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 [email protected] -- gettext: when looking in default_localedir also check in locale-bundle. Patch20: python-bundle-lang.patch # PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module Patch22: python-2.7.4-aarch64.patch Patch24: python-bsddb6.diff -# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module -Patch25: libffi-ppc64le.diff -# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client -Patch26: xmlrpc_gzip_27.patch -# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib -Patch28: smtplib_maxline-2.7.patch -Patch29: python-2.7.6-poplib.patch -# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +# PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31: python-2.7.7-mhlib-linkcount.patch +# PATCH-FIX-UPSTREAM remove unconditional "import ssl" from test +Patch32: python-2.7-urllib2-localnet-ssl.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -100,28 +90,34 @@ %patch10 -p1 %patch13 -p1 %patch17 -p1 -%patch18 -p1 %patch20 -p1 %patch22 -p1 %patch24 -p1 -%patch25 -p0 -%patch26 -p1 -%patch28 -p1 -%patch29 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac # COMMON-PREP-END %build -# nothing to do (...whistles innocently) +TODAY_DATE=`date -r %{S:0} "+%B %d, %Y"` +# TODO use not date of tarball but date of latest patch + +pushd Doc +sed -i "s/^today = .*/today = '$TODAY_DATE'/" conf.py +%if 0%{?suse_version} < 1320 +# lower sphinx version requirement, docs seem to work fine with 1.1 +sed -i "s/^needs_sphinx = .*/needs_sphinx = '1.1'/" conf.py +%endif +make html +popd %install export PDOCS=%{buildroot}%{_docdir}/python install -d -m 755 $PDOCS/Misc -tar xfj %{SOURCE1} -C $PDOCS/ -mv $PDOCS/python-%{version}-docs-html $PDOCS/html +rm Doc/build/html/.buildinfo +mv Doc/build/html $PDOCS/html tar xfj %{SOURCE2} -C $PDOCS mv $PDOCS/docs-pdf $PDOCS/paper-a4 tar xfj %{SOURCE3} -C $PDOCS ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.wlBZq5/_old 2014-12-21 12:03:01.000000000 +0100 +++ /var/tmp/diff_new_pack.wlBZq5/_new 2014-12-21 12:03:01.000000000 +0100 @@ -16,7 +16,7 @@ # Name: python -Version: 2.7.8 +Version: 2.7.9 Release: 0 Summary: Python Interpreter License: Python-2.0 @@ -47,22 +47,15 @@ Patch10: sparc_longdouble.patch Patch13: python-2.7.2-fix_date_time_compiler.patch Patch17: remove-static-libpython.diff -# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions -Patch18: python-2.7.3-ssl_ca_path.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 [email protected] -- gettext: when looking in default_localedir also check in locale-bundle. Patch20: python-bundle-lang.patch # PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module Patch22: python-2.7.4-aarch64.patch Patch24: python-bsddb6.diff -# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module -Patch25: libffi-ppc64le.diff -# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client -Patch26: xmlrpc_gzip_27.patch -# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib -Patch28: smtplib_maxline-2.7.patch -Patch29: python-2.7.6-poplib.patch -# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +# PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31: python-2.7.7-mhlib-linkcount.patch +# PATCH-FIX-UPSTREAM remove unconditional "import ssl" from test +Patch32: python-2.7-urllib2-localnet-ssl.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -177,23 +170,16 @@ %patch10 -p1 %patch13 -p1 %patch17 -p1 -%patch18 -p1 %patch20 -p1 %patch22 -p1 %patch24 -p1 -%patch25 -p0 -%patch26 -p1 -%patch28 -p1 -%patch29 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac # COMMON-PREP-END -# remove newslist.py because of bad license -rm Demo/scripts/newslist.* - %build # necessary for correct linking with GDBM: export SUSE_ASNEEDED=0 @@ -268,6 +254,7 @@ rm -r %{buildroot}%{_libdir}/python%{python_version}/distutils rm -r %{buildroot}%{_libdir}/python%{python_version}/email rm -r %{buildroot}%{_libdir}/python%{python_version}/encodings +rm -r %{buildroot}%{_libdir}/python%{python_version}/ensurepip rm -r %{buildroot}%{_libdir}/python%{python_version}/hotshot rm -r %{buildroot}%{_libdir}/python%{python_version}/importlib rm -r %{buildroot}%{_libdir}/python%{python_version}/json ++++++ Python-2.7.8.tar.xz -> Python-2.7.9.tar.xz ++++++ /work/SRC/openSUSE:Factory/python/Python-2.7.8.tar.xz /work/SRC/openSUSE:Factory/.python.new/Python-2.7.9.tar.xz differ: char 26, line 1 ++++++ python-2.7-urllib2-localnet-ssl.patch ++++++ Index: Python-2.7.9/Lib/test/test_urllib2_localnet.py =================================================================== --- Python-2.7.9.orig/Lib/test/test_urllib2_localnet.py 2014-12-10 16:59:48.000000000 +0100 +++ Python-2.7.9/Lib/test/test_urllib2_localnet.py 2014-12-15 13:57:25.013615707 +0100 @@ -5,7 +5,6 @@ import BaseHTTPServer import unittest import hashlib -import ssl from test import test_support ++++++ python-2.7.8-docs-pdf-a4.tar.bz2 -> python-2.7.9-docs-pdf-a4.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/python/python-2.7.8-docs-pdf-a4.tar.bz2 /work/SRC/openSUSE:Factory/.python.new/python-2.7.9-docs-pdf-a4.tar.bz2 differ: char 11, line 1 ++++++ python-2.7.8-docs-pdf-letter.tar.bz2 -> python-2.7.9-docs-pdf-letter.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/python/python-2.7.8-docs-pdf-letter.tar.bz2 /work/SRC/openSUSE:Factory/.python.new/python-2.7.9-docs-pdf-letter.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
