diff --git a/fio.spec b/fio.spec index eb899c2..36b778e 100644 --- a/fio.spec +++ b/fio.spec @@ -1,6 +1,6 @@ Name: fio Version: 3.32 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multithreaded IO generation tool License: GPLv2 @@ -9,9 +9,15 @@ Source0: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2.asc Source2: https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/plain/keys/F7D358FB2971E0A6.asc +%if 0%{?rhel} && 0%{?rhel} < 10 +%bcond_without nbd +%bcond_without rbd +%bcond_without rados +%else %bcond nbd 1 %bcond rbd 1 %bcond rados 1 +%endif BuildRequires: gcc BuildRequires: gnupg2 @@ -241,6 +247,9 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$ %endif %changelog +* Thu Sep 08 2022 Davide Cavalca - 3.32-3 +- Make it buildable on RHEL again + * Wed Sep 07 2022 Amit Shah - 3.32-2 - Allow building without nbd, rbd, rados support