!6 [sync] PR-5: fix sw_64 build error

From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2023-09-27 01:58:15 +00:00 committed by Gitee
commit 3d64ab8ce7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,15 @@
Name: sysbench Name: sysbench
Version: 1.0.20 Version: 1.0.20
Release: 3 Release: 4
Summary: Scriptable database and system performance benchmark Summary: Scriptable database and system performance benchmark
License: GPL2 License: GPL2
URL: https://github.com/akopytov/sysbench URL: https://github.com/akopytov/sysbench
Source0: https://github.com/akopytov/sysbench/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz 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 BuildRequires: gcc libtool autoconf automake mariadb-devel libaio-devel libxslt ck-devel postgresql-devel luajit-devel
%ifarch sw_64
#!BuildIgnore: gcc_secure
%endif
%description %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. 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}/* %{_datadir}/%{name}/*
%changelog %changelog
* Fri Aug 11 2023 yeqinglong <yeqinglong@kylinsec.com.cn> - 1.0.20-4
- fix sw_64 build error
* Thu Apr 08 2021 herengui <herengui@uniontech.com> - 1.0.20-3 * Thu Apr 08 2021 herengui <herengui@uniontech.com> - 1.0.20-3
- enable postgresql support - enable postgresql support