From f1760203ff67ed4c7d9eec4f7436b8e3edcc8252 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Sat, 4 Feb 2017 16:43:35 +0100 Subject: [PATCH] Update to the first proper release 1.0.0 --- sysbench.spec | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/sysbench.spec b/sysbench.spec index d8789ab..f39079c 100644 --- a/sysbench.spec +++ b/sysbench.spec @@ -1,16 +1,16 @@ Summary: System performance benchmark Name: sysbench -Version: 0.4.12 -Release: 15%{?dist} +Version: 1.0.0 +Release: 1%{?dist} License: GPLv2+ Group: Applications/System -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -URL: http://sysbench.sourceforge.net/ +Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/akopytov/sysbench/ -BuildRequires: mysql-devel -%if 0%{?rhel} != 4 +BuildRequires: mariadb-devel BuildRequires: postgresql-devel -%endif +BuildRequires: ck-devel +BuildRequires: luajit-devel BuildRequires: libaio-devel BuildRequires: automake BuildRequires: libtool @@ -38,30 +38,36 @@ benchmarks and third-party plug-in modules. %prep %setup -q - +rm -r third_party/luajit/luajit/ +rm -r third_party/concurrency_kit/ck/ %build -touch NEWS AUTHORS +export CFLAGS="%{optflags}" autoreconf -vif %configure --with-mysql \ -%if 0%{?rhel} != 4 - --with-pgsql -%endif - -make + --with-pgsql \ + --with-system-ck \ + --with-system-luajit +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_docdir}/sysbench/manual.html +%make_install +rm -f %{buildroot}%{_docdir}/sysbench/manual.html +# FIXME: we should run tests at some point %files -%doc ChangeLog COPYING INSTALL README +%doc ChangeLog COPYING README.md +%license COPYING %{_bindir}/* +%{_datadir}/%{name} %changelog +* Sun Feb 12 2017 Honza Horak - 1.0.0-1 +- Update to the first proper release 1.0.0 + * Sat Feb 11 2017 Fedora Release Engineering - 0.4.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild