Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov 32e673e0d0
Disable ck and luajit on riscv
These packages do not have support for riscv.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-06 19:33:51 +02:00
David Abdurachmanov 9ddf479292
Add support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-06 18:26:29 +02:00
1 changed files with 11 additions and 2 deletions

View File

@ -1,18 +1,24 @@
Summary: System performance benchmark
Name: sysbench
Version: 1.0.17
Release: 3%{?dist}
Release: 3.0.riscv64%{?dist}
License: GPLv2+
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
URL: https://github.com/akopytov/sysbench/
BuildRequires: automake
%ifnarch riscv64
# Not supported on riscv64
BuildRequires: ck-devel
%endif
BuildRequires: docbook-style-xsl
BuildRequires: libaio-devel
BuildRequires: libtool
BuildRequires: libxslt
%ifnarch riscv64
# Not supported on riscv64
BuildRequires: luajit-devel
%endif
%if 0%{?el6}
BuildRequires: mysql-devel
%endif
@ -36,7 +42,7 @@ BuildRequires: postgresql-devel
%if 0%{?el6} || 0%{?el7}
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips}
%else
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 riscv64
%endif
@ -104,6 +110,9 @@ rm t/opt_report_interval.t
%changelog
* Wed Nov 06 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.0.17-3.0.riscv64
- Add support for RISC-V (riscv64)
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild