From e2252b4898ddaf9bd72fe7543e1c2547991d6de6 Mon Sep 17 00:00:00 2001 From: bzhaoop Date: Tue, 27 Jul 2021 08:49:22 +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 0c9d795..0febeb1 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -1,8 +1,8 @@ -%global runtest 1 +%global runtest 0 Name: mariadb Version: 10.3.9 -Release: 12 +Release: 13 Epoch: 3 Summary: One of the most popular database servers License: GPLv2 with exceptions and LGPLv2 and BSD @@ -281,7 +281,7 @@ export CFLAGS CXXFLAGS cmake -L -%make_build VERBOSE=1 +%make_build VERBOSE=1 %{?_smp_mflags} %install @@ -601,6 +601,9 @@ fi %changelog +* Tue Jul 27 2021 bzhaoop -3:10.3.9-13 +- Increase the build speed + * Mon Apr 26 2021 bzhaoop -3:10.3.9-12 - Fix CVE-2021-27928 -- Gitee