Don't build aarch64 on el7

This commit is contained in:
Xavier Bachelot 2017-03-13 17:36:23 +01:00
parent 62ef260bf5
commit a314af322e
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: System performance benchmark
Name: sysbench
Version: 1.0.4
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: Applications/System
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
@ -20,7 +20,12 @@ 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}
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips}
%else
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64
%endif
%description
@ -84,6 +89,9 @@ cd tests
%changelog
* Mon Mar 13 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.4-2
- Don't build aarch64 on el7.
* Mon Mar 13 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.4-1
- Fix build for i686.
- Drop bundled cram.