From 26c5d0322aae3d100254a16a28c2b51a4a01aaa3 Mon Sep 17 00:00:00 2001 From: wxm Date: Tue, 5 Mar 2024 09:09:59 +0000 Subject: [PATCH] Add BuildRequires gperftools-devel to link tcmalloc Signed-off-by: wxm --- fio.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fio.spec b/fio.spec index f78ea62..8b4b431 100644 --- a/fio.spec +++ b/fio.spec @@ -1,12 +1,15 @@ Name: fio Version: 3.7 -Release: 7 +Release: 8 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 zlib-devel librbd1-devel numactl-devel librdmacm-devel +%ifnarch s390 +BuildRequires: gperftools-devel +%endif %ifarch x86_64 BuildRequires: libpmem-devel libpmemblk-devel %endif @@ -46,6 +49,9 @@ export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{_mandir}/man1/* %changelog +* Tue Mar 5 2024 wangxiaomeng - 3.7-8 +- Add BuildRequires gperftools-devel to link tcmalloc. + * Wed Jul 21 2021 lingsheng - 3.7-7 - Remove unnecessary buildrequire gdb -- Gitee