Disable testing option during building package

1. Disable testing option
2. Keep increase the build/compile parallel progress
This commit is contained in:
bzhaoop 2021-07-26 14:59:47 +08:00
parent 871ba5f78e
commit 2933b00dde

View File

@ -1,6 +1,6 @@
%global pkg_name %{name}
%global pkgnamepatch mariadb
%{!?runselftest:%global runselftest 1}
%{!?runselftest:%global runselftest 0}
%global ignore_testsuite_result 0
%global last_tested_version 10.5.10
%global force_run_testsuite 0
@ -74,7 +74,7 @@
Name: mariadb
Version: 10.5.10
Release: 2
Release: 3
Epoch: 4
Summary: A very fast and robust SQL database server
@ -769,7 +769,7 @@ CXXFLAGS="$CFLAGS"
CPPFLAGS="$CFLAGS"
export CFLAGS CXXFLAGS CPPFLAGS
%make_build -j7
%make_build %{?_smp_mflags}
# build selinux policy
%if %{with galera}
@ -1473,6 +1473,9 @@ fi
%endif
%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
- remove unnecessary build require.