From 32e673e0d0b2db8f21d6c72ed54965bcff2fee1d Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 6 Nov 2019 19:33:51 +0200 Subject: [PATCH] Disable ck and luajit on riscv These packages do not have support for riscv. Signed-off-by: David Abdurachmanov --- sysbench.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysbench.spec b/sysbench.spec index d5267b9..3d0b8b6 100644 --- a/sysbench.spec +++ b/sysbench.spec @@ -7,12 +7,18 @@ Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{ 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