!55 [sync] PR-40: 【轻量级 PR】:Add BuildRequires gperftools-devel to link tcmalloc

From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-05-27 09:38:28 +00:00 committed by Gitee
commit 1827cf3eb6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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.