From 96597bb9a88847633d7b28387f01c7a92b3b64f6 Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Wed, 19 Aug 2020 10:51:13 +0800 Subject: [PATCH 1/2] Judge arch before use valgrind --- python3.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python3.spec b/python3.spec index e1761c1..1f7d985 100644 --- a/python3.spec +++ b/python3.spec @@ -69,7 +69,9 @@ BuildRequires: tcl-devel BuildRequires: tix-devel BuildRequires: tk-devel +%ifarch %{valgrind_arches} BuildRequires: valgrind-devel +%endif BuildRequires: xz-devel BuildRequires: zlib-devel @@ -229,7 +231,9 @@ pushd ${DebugBuildDir} --enable-loadable-sqlite-extensions \ --with-dtrace \ --with-ssl-default-suites=openssl \ +%ifarch %{valgrind_arches} --with-valgrind \ +%endif --without-ensurepip \ --with-pydebug @@ -253,7 +257,9 @@ pushd ${OptimizedBuildDir} --enable-loadable-sqlite-extensions \ --with-dtrace \ --with-ssl-default-suites=openssl \ +%ifarch %{valgrind_arches} --with-valgrind \ +%endif --without-ensurepip \ %{optimizations_flag} -- Gitee From 9d961e2dc4249b191227e224d92c48351b8ddc2a Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Wed, 19 Aug 2020 10:59:36 +0800 Subject: [PATCH 2/2] Update changelog --- python3.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index 1f7d985..77e1278 100644 --- a/python3.spec +++ b/python3.spec @@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.8.5 -Release: 1 +Release: 2 License: Python %global branchversion 3.8 @@ -794,6 +794,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Tue Aug 19 2020 whoisxxx - 3.8.5-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: Judge arch before use valgrind + * Sat Aug 1 2020 wenzhanli - 3.8.5-1 - Type:bugfix - ID:NA -- Gitee