From 2933b00dde9fca753ba8470b735eb3f32edd9a78 Mon Sep 17 00:00:00 2001 From: bzhaoop Date: Mon, 26 Jul 2021 14:59:47 +0800 Subject: [PATCH] Disable testing option during building package 1. Disable testing option 2. Keep increase the build/compile parallel progress --- mariadb.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 8b22549..acbf648 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -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 -4:10.5.10-3 +- Disable execute testing during rpm packaging for increasing performance. + * Fri Jul 23 2021 zhouwenpei -4:10.5.10-2 - remove unnecessary build require. -- Gitee