[packages/python3/PYTHON_3_8] - up to 3.8.8; fixes CVE-2021-3177, CVE-2021-23336; speed up build

arekm arekm at pld-linux.org
Fri Feb 19 22:36:07 CET 2021


commit c705b23e0774e482e9bb9d0de70a6681deae6aba
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Feb 19 22:35:58 2021 +0100

    - up to 3.8.8; fixes  CVE-2021-3177, CVE-2021-23336; speed up build

 python3.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 3ca63bf..2d7ed30 100644
--- a/python3.spec
+++ b/python3.spec
@@ -41,13 +41,13 @@ Summary(ru.UTF-8):	Язык программирования очень высо
 Summary(tr.UTF-8):	X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python3
-Version:	%{py_ver}.7
+Version:	%{py_ver}.8
 Release:	1
 Epoch:		1
 License:	PSF
 Group:		Development/Languages/Python
 Source0:	https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5:	60fe018fffc7f33818e6c340d29e2db9
+# Source0-md5:	23e6b769857233c1ac07b6be7442eff4
 Source1:	pyconfig.h.in
 Patch0:		%{name}-pythonpath.patch
 Patch1:		%{name}-ac_fixes.patch
@@ -561,7 +561,7 @@ fi
 %endif
 
 %{__make} \
-	TESTOPTS="%{test_list}" \
+	TESTOPTS="%{_smp_mflags} %{test_list}" \
 	2>&1 | awk '
 BEGIN { fail = 0; logmsg = ""; }
 {
@@ -576,7 +576,7 @@ END { if (fail) { print "\nPROBLEMS FOUND:"; print logmsg; exit(1); } }'
 LC_ALL=C.UTF-8
 export LC_ALL
 %if %{with tests}
-WITHIN_PYTHON_RPM_BUILD=1 %{__make} -j1 test \
+WITHIN_PYTHON_RPM_BUILD=1 %{__make} test \
 	TESTOPTS="%{test_flags} %{test_list}"
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/c705b23e0774e482e9bb9d0de70a6681deae6aba



More information about the pld-cvs-commit mailing list