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