From 28d176480de73dcb85a2bd3c4b305c407b770512 Mon Sep 17 00:00:00 2001 From: yeqinglong Date: Fri, 11 Aug 2023 11:24:05 +0800 Subject: [PATCH] fix sw_64 build error (cherry picked from commit 7bffa294566f989a301613fe213c34265abf55ef) --- sysbench.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sysbench.spec b/sysbench.spec index 6f92abf..fe2b898 100644 --- a/sysbench.spec +++ b/sysbench.spec @@ -1,12 +1,15 @@ Name: sysbench Version: 1.0.20 -Release: 3 +Release: 4 Summary: Scriptable database and system performance benchmark License: GPL2 URL: https://github.com/akopytov/sysbench Source0: https://github.com/akopytov/sysbench/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc libtool autoconf automake mariadb-devel libaio-devel libxslt ck-devel postgresql-devel luajit-devel +%ifarch sw_64 +#!BuildIgnore: gcc_secure +%endif %description sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT. It is most frequently used for database benchmarks, but can also be used to create arbitrarily complex workloads that do not involve a database server. @@ -44,6 +47,9 @@ rm -r third_party/cram/ %{_datadir}/%{name}/* %changelog +* Fri Aug 11 2023 yeqinglong - 1.0.20-4 +- fix sw_64 build error + * Thu Apr 08 2021 herengui - 1.0.20-3 - enable postgresql support -- Gitee