添加postgresql支持
Signed-off-by: He Rengui <herengui@uniontech.com>
This commit is contained in:
parent
ac01c3c7a7
commit
009ce6d8c2
@ -1,24 +1,29 @@
|
|||||||
#%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: sysbench
|
Name: sysbench
|
||||||
Version: 1.0.20
|
Version: 1.0.20
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
BuildRequires: gcc libtool autoconf automake mariadb-devel libaio-devel libxslt ck-devel postgresql-devel luajit-devel
|
||||||
|
|
||||||
%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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}/
|
%setup -q -n %{name}-%{version}/
|
||||||
|
# Use luajit-devel and ck-devel instead of embedded code
|
||||||
|
rm -r third_party/luajit/luajit/
|
||||||
|
rm -r third_party/concurrency_kit/ck/
|
||||||
|
rm -r third_party/cram/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
%configure
|
%configure --with-mysql \
|
||||||
|
--with-pgsql \
|
||||||
|
--with-system-ck \
|
||||||
|
--with-system-luajit
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -36,9 +41,12 @@ sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT. It is mo
|
|||||||
%doc README.md ChangeLog
|
%doc README.md ChangeLog
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_docdir}/%{name}/*
|
%{_docdir}/%{name}/*
|
||||||
/usr/share/%{name}/*
|
%{_datadir}/%{name}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 08 2021 herengui <herengui@uniontech.com> - 1.0.20-3
|
||||||
|
- enable postgresql support
|
||||||
|
|
||||||
* Tue Oct 13 2020 liqingqing_1229 <liqingqing3@huawei.com>
|
* Tue Oct 13 2020 liqingqing_1229 <liqingqing3@huawei.com>
|
||||||
- update source0
|
- update source0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user