!44 Disable testing option during building package

From: @bzhaoop
Reviewed-by: @zhengzhenyu
Signed-off-by: @zhengzhenyu
This commit is contained in:
openeuler-ci-bot 2021-07-27 02:06:12 +00:00 committed by Gitee
commit df05aee487

View File

@ -1,6 +1,6 @@
%global pkg_name %{name} %global pkg_name %{name}
%global pkgnamepatch mariadb %global pkgnamepatch mariadb
%{!?runselftest:%global runselftest 1} %{!?runselftest:%global runselftest 0}
%global ignore_testsuite_result 0 %global ignore_testsuite_result 0
%global last_tested_version 10.5.10 %global last_tested_version 10.5.10
%global force_run_testsuite 0 %global force_run_testsuite 0
@ -74,7 +74,7 @@
Name: mariadb Name: mariadb
Version: 10.5.10 Version: 10.5.10
Release: 2 Release: 3
Epoch: 4 Epoch: 4
Summary: A very fast and robust SQL database server Summary: A very fast and robust SQL database server
@ -769,7 +769,7 @@ CXXFLAGS="$CFLAGS"
CPPFLAGS="$CFLAGS" CPPFLAGS="$CFLAGS"
export CFLAGS CXXFLAGS CPPFLAGS export CFLAGS CXXFLAGS CPPFLAGS
%make_build -j7 %make_build %{?_smp_mflags}
# build selinux policy # build selinux policy
%if %{with galera} %if %{with galera}
@ -1473,6 +1473,9 @@ fi
%endif %endif
%changelog %changelog
* Mon Jul 26 2021 bzhaoop<bzhaojyathousandy@gmail.com> -4:10.5.10-3
- Disable execute testing during rpm packaging for increasing performance.
* Fri Jul 23 2021 zhouwenpei<zhouwenpei1@gmail.com> -4:10.5.10-2 * Fri Jul 23 2021 zhouwenpei<zhouwenpei1@gmail.com> -4:10.5.10-2
- remove unnecessary build require. - remove unnecessary build require.