Add soft dependencies from main package to all the subpackages.

This commit is contained in:
Richard W.M. Jones 2020-10-01 19:17:12 +01:00
parent 15b2728417
commit 062e5197e8

View File

@ -1,6 +1,6 @@
Name: fio Name: fio
Version: 3.23 Version: 3.23
Release: 2%{?dist} Release: 3%{?dist}
Summary: Multithreaded IO generation tool Summary: Multithreaded IO generation tool
License: GPLv2 License: GPLv2
@ -28,6 +28,26 @@ BuildRequires: numactl-devel
BuildRequires: librdmacm-devel BuildRequires: librdmacm-devel
%endif %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 %description
fio is an I/O tool that will spawn a number of threads or processes doing 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 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 %endif
%changelog %changelog
* Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-3
- Add soft dependencies from main package to all the subpackages.
* Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-2 * Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-2
- Enable dynamically loaded engines support. - Enable dynamically loaded engines support.
- Move license to %%license section. - Move license to %%license section.