From 15b27284177e52340bc949775afca5c8093f9b31 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Oct 01 2020 15:01:37 +0000 Subject: More architectural differences: HTTP engine is not built on !x86-64. Ceph no longer exists on any 32 bit platform, so we must ifnarch it for arm and i686. RDMA is not available on armv7. --- diff --git a/fio.spec b/fio.spec index e05b630..45e0d51 100644 --- a/fio.spec +++ b/fio.spec @@ -50,7 +50,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description engine-dev-dax PMDK dev-dax engine for %{name}. -%endif %package engine-http Summary: HTTP engine for %{name}. @@ -58,6 +57,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description engine-http HTTP engine for %{name}. +%endif %package engine-nbd Summary: Network Block Device engine for %{name}. @@ -75,6 +75,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} PMDK pmemblk engine for %{name}. %endif +%ifnarch %{arm} %{ix86} %package engine-rados Summary: Rados engine for %{name}. Requires: %{name}%{?_isa} = %{version}-%{release} @@ -88,13 +89,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description engine-rbd Rados Block Device (RBD) engine for %{name}. +%endif +%ifnarch %{arm} %package engine-rdma Summary: RDMA engine for %{name}. Requires: %{name}%{?_isa} = %{version}-%{release} %description engine-rdma RDMA engine for %{name}. +%endif %prep %setup -q @@ -133,10 +137,10 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$ %ifarch x86_64 %files engine-dev-dax %{_libdir}/fio/libdev-dax.so -%endif %files engine-http %{_libdir}/fio/libhttp.so +%endif %files engine-nbd %{_libdir}/fio/libnbd.so @@ -146,14 +150,18 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$ %{_libdir}/fio/libpmemblk.so %endif +%ifnarch %{arm} %{ix86} %files engine-rados %{_libdir}/fio/librados.so %files engine-rbd %{_libdir}/fio/librbd.so +%endif +%ifnarch %{arm} %files engine-rdma %{_libdir}/fio/librdma.so +%endif %changelog * Thu Oct 01 2020 Richard W.M. Jones 3.23-2