add build requires for resolving building errors

This commit is contained in:
baizg1107 2021-06-07 16:59:22 +08:00
parent dd9e59f2f0
commit be64dd2a67

View File

@ -1,11 +1,11 @@
Name: fio
Version: 3.7
Release: 8
Release: 9
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 gdb
BuildRequires: libaio-devel zlib-devel librbd1-devel numactl-devel librdmacm-devel gdb gcc
%ifarch x86_64
BuildRequires: libpmem-devel libpmemblk-devel
@ -46,6 +46,10 @@ export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%{_mandir}/man1/*
%changelog
* Wed Jun 2 2021 baizhonggui <baizhonggui@huawei.com> - 3.7-9
- Fix building error: configure: failed to find compiler
- Add gcc in BuildRequires
* Tue Nov 03 2020 lingsheng <lingsheng@huawei.com> - 3.7-8
- fio2gnuplot: fix TabErrors when running with Python 3