This commit is contained in:
Xavier Bachelot 2017-04-07 09:36:53 +02:00
parent a314af322e
commit 90e98fa85c
3 changed files with 15 additions and 4 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ sysbench-0.4.12.tar.gz
/sysbench-1.0.2.tar.gz
/sysbench-1.0.3.tar.gz
/sysbench-1.0.4.tar.gz
/sysbench-1.0.5.tar.gz

View File

@ -1 +1 @@
SHA512 (sysbench-1.0.4.tar.gz) = f2725e8f7a265b1f3c4ec4b1a863d9f15b3aa44a0fb358d5e9064e645fe1717cb6988bdf39570342ba6897635ce616e8ddb91e7d891eb391070335de7d15b6cb
SHA512 (sysbench-1.0.5.tar.gz) = 8080803a08e8037af01bb87cf1bd1fbac5df4403e89213fa61a4708c43ea4cc5121304a1e8dc3c0b3e800a45727946b08329492cc44e1695370a21e8d1a04cd9

View File

@ -1,13 +1,17 @@
Summary: System performance benchmark
Name: sysbench
Version: 1.0.4
Release: 2%{?dist}
Version: 1.0.5
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
URL: https://github.com/akopytov/sysbench/
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: mariadb-devel
%else
BuildRequires: mysql-devel
%endif
BuildRequires: postgresql-devel
BuildRequires: ck-devel
BuildRequires: luajit-devel
@ -21,7 +25,7 @@ BuildRequires: /usr/bin/cram
# luajit is needed and is not available for ppc64 and ppc64le.
# Use the same arches as luajit.
# luajit 2.0.4, which is in EL7, doesn't have support for aarch64
%if %{?el7}
%if 0%{?el7}
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips}
%else
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64
@ -89,6 +93,12 @@ cd tests
%changelog
* Fri Apr 07 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.5-1
- Update to 1.0.5.
- Fix conditional around ExclusiveArch.
- Restore EL6 support, luajit (RHBZ#1432377) and python-cram (RHBZ#1432378) are
currently missing though.
* Mon Mar 13 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.4-2
- Don't build aarch64 on el7.