Browse code

Update python3 to version 3.5.3.

Change-Id: Iede54acabf5249304207150a026361823ceb0c57
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2096
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

xiaolin-vmware authored on 2017/03/01 09:35:43
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,22 +0,0 @@
1
-# HG changeset patch
2
-# User Benjamin Peterson <benjamin@python.org>
3
-# Date 1453357506 28800
4
-# Node ID 10dad6da1b28ea4af78ad9529e469fdbf4ebbc8f
5
-# Parent  a3ac2cd93db9d5336dfd7b5b27efde2c568d8794# Parent  01ddd608b85c85952537d95a43bbabf4fb655057
6
- 
7
-diff --git a/Modules/zipimport.c b/Modules/zipimport.c
8
-+++ b/Modules/zipimport.c
9
-@@ -1127,6 +1127,11 @@ get_data(PyObject *archive, PyObject *to
10
-     }
11
-     file_offset += l;           /* Start of file data */
12
- 
13
-+    if (data_size > LONG_MAX - 1) {
14
-+        fclose(fp);
15
-+        PyErr_NoMemory();
16
-+        return NULL;
17
-+    }
18
-     bytes_size = compress == 0 ? data_size : data_size + 1;
19
-     if (bytes_size == 0)
20
-         bytes_size++;
21
-
... ...
@@ -1,16 +1,15 @@
1 1
 Summary:        A high-level scripting language
2 2
 Name:           python3
3
-Version:        3.5.1
4
-Release:        10%{?dist}
3
+Version:        3.5.3
4
+Release:        1%{?dist}
5 5
 License:        PSF
6 6
 URL:            http://www.python.org/
7 7
 Group:          System Environment/Programming
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:        https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
11
-%define sha1    Python=0186da436db76776196612b98bb9c2f76acfe90e
11
+%define sha1    Python=127121fdca11e735b3686e300d66f73aba663e93
12 12
 Patch0:         cgi3.patch
13
-Patch1:         python3-CVE-2016-5636.patch
14 13
 Patch2:         python3-support-photon-platform.patch
15 14
 BuildRequires:  pkg-config >= 0.28
16 15
 BuildRequires:  bzip2-devel
... ...
@@ -86,7 +85,6 @@ to build python programs.
86 86
 %prep
87 87
 %setup -q -n Python-%{version}
88 88
 %patch0 -p1
89
-%patch1 -p1
90 89
 %patch2 -p1
91 90
 
92 91
 %build
... ...
@@ -190,6 +188,8 @@ rm -rf %{buildroot}/*
190 190
 %{_bindir}/idle*
191 191
 
192 192
 %changelog
193
+*   Tue Feb 28 2017 Xiaolin Li <xiaolinl@vmware.com> 3.5.3-1
194
+-   Updated to version 3.5.3.
193 195
 *   Fri Jan 20 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.5.1-10
194 196
 -   Added patch to support Photon OS
195 197
 *   Tue Dec 20 2016 Xiaolin Li <xiaolinl@vmware.com> 3.5.1-9