From 2707de58bd08e7db636bec4da6242b0e5fa4ab2a Mon Sep 17 00:00:00 2001 From: bzhaoop Date: Tue, 27 Jul 2021 08:57:52 +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..7202185 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