From 17cdf9620d4be37a6d3b2821a5287932946e1049 Mon Sep 17 00:00:00 2001 From: bzhaoop Date: Tue, 27 Jul 2021 09:04:42 +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 e042181..6a3f95f 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -1,8 +1,8 @@ -%global runtest 1 +%global runtest 0 Name: mariadb Version: 10.3.9 -Release: 9 +Release: 10 Epoch: 3 Summary: One of the most popular database servers License: GPLv2 with exceptions and LGPLv2 and BSD @@ -279,7 +279,7 @@ export CFLAGS CXXFLAGS cmake -L -%make_build VERBOSE=1 +%make_build VERBOSE=1 %{?_smp_mflags} %install @@ -599,6 +599,9 @@ fi %changelog +* Tue Jul 27 2021 bzhaoop -3:10.3.9-10 +- Increase the build speed + * Thu Aug 18 2020 xinghe - 3:10.3.9-9 - Add release version for update -- Gitee