Update to the first proper release 1.0.0
This commit is contained in:
parent
91525a88c7
commit
f1760203ff
@ -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 <hhorak@redhat.com> - 1.0.0-1
|
||||
- Update to the first proper release 1.0.0
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user