From 2c368e67d261bd1105ae554064532303ba97ba25 Mon Sep 17 00:00:00 2001 From: bzhaoop Date: Tue, 27 Jul 2021 08:54:37 +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 cd81442..d1ef516 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 +* Tue Jul 27 2021 bzhaoop -3:10.3.9-12 +- Increase the build speed + * Tue Jun 29 2021 bzhaoop - 3:10.3.9-11 - Resolve CVE-2021-27928 -- Gitee