Disable automatic provides for fio engines (RHBZ#1884954).

This commit is contained in:
Richard W.M. Jones 2020-10-05 15:08:37 +01:00
parent 062e5197e8
commit 7c3f48012b
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: fio
Version: 3.23
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Multithreaded IO generation tool
License: GPLv2
@ -28,6 +28,10 @@ BuildRequires: numactl-devel
BuildRequires: librdmacm-devel
%endif
# Don't create automated dependencies for the fio engines.
# https://bugzilla.redhat.com/show_bug.cgi?id=1884954
%global __provides_exclude_from ^%{_libdir}/fio/
# 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.
@ -184,6 +188,9 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$
%endif
%changelog
* Mon Oct 05 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-4
- Disable automatic provides for fio engines (RHBZ#1884954).
* Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-3
- Add soft dependencies from main package to all the subpackages.