From ae0feb10a65465dd048cc9938f3f12165968223d Mon Sep 17 00:00:00 2001 From: wxm Date: Tue, 5 Mar 2024 08:57:40 +0000 Subject: [PATCH] Add BuildRequires gperftools-devel to link tcmalloc Signed-off-by: wxm (cherry picked from commit ae55094c029d2d76f414fb17e313195feb93fbac) --- fio.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fio.spec b/fio.spec index 08f4507..e9ba901 100644 --- a/fio.spec +++ b/fio.spec @@ -3,12 +3,15 @@ Name: fio Version: 3.29 -Release: 2 +Release: 3 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 numactl-devel librdmacm-devel gcc +%ifnarch s390 +BuildRequires: gperftools-devel +%endif %if %{with rbd} BuildRequires: librbd1-devel %endif @@ -58,6 +61,9 @@ export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{_mandir}/man1/* %changelog +* Tue Mar 5 2024 wangxiaomeng - 3.29-3 +- Add BuildRequires gperftools-devel to link tcmalloc. + * Tue Dec 6 2022 Qiang Wei - 3.29-2 - Make Ceph rbd support an optional feature. -- Gitee