diff --git a/fio.spec b/fio.spec index 45e0d51..9c20ab9 100644 --- a/fio.spec +++ b/fio.spec @@ -1,6 +1,6 @@ Name: fio Version: 3.23 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multithreaded IO generation tool License: GPLv2 @@ -28,6 +28,26 @@ BuildRequires: numactl-devel BuildRequires: librdmacm-devel %endif +# Main fio package has soft dependencies on all the engine +# subpackages, but allows the engines to be uninstalled if not needed +# or if the dependencies are too onerous. +Recommends: %{name}-engine-libaio +%ifarch x86-64 +Recommends: %{name}-engine-dev-dax +Recommends: %{name}-engine-http +%endif +Recommends: %{name}-engine-nbd +%ifarch x86_64 +Recommends: %{name}-engine-pmemblk +%endif +%ifnarch %{arm} %{ix86} +Recommends: %{name}-engine-rados +Recommends: %{name}-engine-rbd +%endif +%ifnarch %{arm} +Recommends: %{name}-engine-rdma +%endif + %description fio is an I/O tool that will spawn a number of threads or processes doing a particular type of io action as specified by the user. fio takes a @@ -164,6 +184,9 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$ %endif %changelog +* Thu Oct 01 2020 Richard W.M. Jones 3.23-3 +- Add soft dependencies from main package to all the subpackages. + * Thu Oct 01 2020 Richard W.M. Jones 3.23-2 - Enable dynamically loaded engines support. - Move license to %%license section.