diff --git a/fio.spec b/fio.spec index 617c6998982d7aaf06449d2d52abfb1668d7e514..08f4507097bb704b245a17d7076d9044cfcbd2ce 100644 --- a/fio.spec +++ b/fio.spec @@ -1,11 +1,17 @@ +# Whether to support Ceph rbd storage +%bcond_without rbd + Name: fio Version: 3.29 -Release: 1 +Release: 2 Summary: Versatile IO workload generator License: GPLv2 URL: http://git.kernel.dk/?p=fio.git;a=summary Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 -BuildRequires: libaio-devel python3-devel zlib-devel librbd1-devel numactl-devel librdmacm-devel gcc +BuildRequires: libaio-devel python3-devel zlib-devel numactl-devel librdmacm-devel gcc +%if %{with rbd} +BuildRequires: librbd1-devel +%endif %ifarch x86_64 BuildRequires: libpmem-devel libpmemblk-devel @@ -32,7 +38,9 @@ pathfix.py -i %{__python3} -pn \ t/steadystate_tests.py %build -./configure --disable-optimizations +./configure --disable-optimizations \ + %{!?with_rbd:--disable-rbd} + export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %make_build V=1 @@ -50,6 +58,9 @@ export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{_mandir}/man1/* %changelog +* Tue Dec 6 2022 Qiang Wei - 3.29-2 +- Make Ceph rbd support an optional feature. + * Fri Jan 14 2022 caodongxia - 3.29-1 - Upgrade 3.29