!22 Buildrequire "valgrind " is arch related

Merge pull request !22 from whoisxxx/master
This commit is contained in:
openeuler-ci-bot 2020-09-04 14:56:26 +08:00 committed by Gitee
commit c7ecefe9fa

View File

@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
URL: https://www.python.org/ URL: https://www.python.org/
Version: 3.8.5 Version: 3.8.5
Release: 1 Release: 2
License: Python License: Python
%global branchversion 3.8 %global branchversion 3.8
@ -69,7 +69,9 @@ BuildRequires: tcl-devel
BuildRequires: tix-devel BuildRequires: tix-devel
BuildRequires: tk-devel BuildRequires: tk-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
%endif
BuildRequires: xz-devel BuildRequires: xz-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -229,7 +231,9 @@ pushd ${DebugBuildDir}
--enable-loadable-sqlite-extensions \ --enable-loadable-sqlite-extensions \
--with-dtrace \ --with-dtrace \
--with-ssl-default-suites=openssl \ --with-ssl-default-suites=openssl \
%ifarch %{valgrind_arches}
--with-valgrind \ --with-valgrind \
%endif
--without-ensurepip \ --without-ensurepip \
--with-pydebug --with-pydebug
@ -253,7 +257,9 @@ pushd ${OptimizedBuildDir}
--enable-loadable-sqlite-extensions \ --enable-loadable-sqlite-extensions \
--with-dtrace \ --with-dtrace \
--with-ssl-default-suites=openssl \ --with-ssl-default-suites=openssl \
%ifarch %{valgrind_arches}
--with-valgrind \ --with-valgrind \
%endif
--without-ensurepip \ --without-ensurepip \
%{optimizations_flag} %{optimizations_flag}
@ -788,6 +794,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Aug 19 2020 whoisxxx<zhangxuzhou4@huawei.com> - 3.8.5-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: Judge arch before use valgrind
* Sat Aug 1 2020 wenzhanli<wenzhanli2@huawei.com> - 3.8.5-1 * Sat Aug 1 2020 wenzhanli<wenzhanli2@huawei.com> - 3.8.5-1
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA