Add BuildRequires gperftools-devel to link tcmalloc

Signed-off-by: wxm <wangxiaomeng@kylinos.cn>
(cherry picked from commit ae55094c029d2d76f414fb17e313195feb93fbac)
This commit is contained in:
wxm 2024-03-05 08:57:40 +00:00 committed by openeuler-sync-bot
parent 525163b449
commit c952b6ee1b

View File

@ -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 <wangxiaomeng@klinos.cn> - 3.29-3
- Add BuildRequires gperftools-devel to link tcmalloc.
* Tue Dec 6 2022 Qiang Wei <qiang.wei@suse.com> - 3.29-2
- Make Ceph rbd support an optional feature.