From dd6bd9c617235761e5635ef44e3389009893d34d Mon Sep 17 00:00:00 2001 From: bzhaoop Date: Tue, 27 Jul 2021 08:39:45 +0800 Subject: [PATCH] Support more cores to compile and disable testing during build. 1. Add more cores to join for compiling. 2. Disable testing option during building package. Both are for increasing OBS performance. --- mariadb.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index a76e95f..0a49526 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -1,8 +1,8 @@ -%global runtest 1 +%global runtest 0 Name: mariadb Version: 10.3.9 -Release: 11 +Release: 12 Epoch: 3 Summary: One of the most popular database servers License: GPLv2 with exceptions and LGPLv2 and BSD @@ -280,7 +280,7 @@ export CFLAGS CXXFLAGS cmake -L -%make_build VERBOSE=1 +%make_build VERBOSE=1 %{?_smp_mflags} %install @@ -600,6 +600,9 @@ fi %changelog +* Mon Jul 26 2021 bzhaoop -3:10.3.9-12 +- Increase the build speed + * Tue Sep 8 2020 lihaotian -3:10.3.9-11 - Update the source0 url -- Gitee