update version to 3.32
This commit is contained in:
parent
b37e0ff198
commit
ed80a17cda
BIN
fio-3.30.tar.bz2
BIN
fio-3.30.tar.bz2
Binary file not shown.
BIN
fio-3.32.tar.gz
Normal file
BIN
fio-3.32.tar.gz
Normal file
Binary file not shown.
55
fio.spec
55
fio.spec
@ -1,19 +1,37 @@
|
|||||||
Name: fio
|
Name: fio
|
||||||
Version: 3.30
|
Version: 3.32
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Versatile IO workload generator
|
Summary: Multithreaded IO generation tool
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://git.kernel.dk/?p=fio.git;a=summary
|
URL: http://git.kernel.dk/?p=fio.git;a=summary
|
||||||
Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
|
Source0: https://github.com/axboe/fio/archive/refs/tags/fio-3.32.tar.gz
|
||||||
BuildRequires: libaio-devel python3-devel zlib-devel librbd1-devel numactl-devel librdmacm-devel gcc
|
|
||||||
|
|
||||||
%ifarch x86_64
|
|
||||||
BuildRequires: libpmem-devel libpmemblk-devel
|
BuildRequires: gcc
|
||||||
|
BuildRequires: libaio-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: libcurl-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
%ifarch x86_64 ppc64le
|
||||||
|
BuildRequires: libpmem-devel
|
||||||
|
BuildRequires: libpmemblk-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
%global __provides_exclude_from ^%{_libdir}/fio/
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
fio is a tool used to spawn many threads or processes that perform a specific type
|
fio is an I/O tool that will spawn a number of threads or processes doing
|
||||||
of io operation specified by the user.It accepts many global parameters inherited
|
a particular type of io action as specified by the user. fio takes a
|
||||||
by threads.Its common method is to simulate jobs that match the specified io load.
|
number of global parameters, each inherited by the thread unless
|
||||||
|
otherwise parameters given to them overriding that setting is given.
|
||||||
|
The typical use of fio is to write a job file matching the io load
|
||||||
|
one wants to simulate.
|
||||||
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Help document for the fio
|
Summary: Help document for the fio
|
||||||
@ -31,25 +49,36 @@ pathfix.py -i %{__python3} -pn \
|
|||||||
tools/plot/fio2gnuplot \
|
tools/plot/fio2gnuplot \
|
||||||
t/steadystate_tests.py
|
t/steadystate_tests.py
|
||||||
|
|
||||||
|
# Edit /usr/local/lib path in os/os-linux.h to match Fedora conventions.
|
||||||
|
sed -e 's,/usr/local/lib/,%{_libdir}/,g' -i os/os-linux.h
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --disable-optimizations
|
./configure --disable-optimizations --dynamic-libengines
|
||||||
export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
||||||
%make_build V=1
|
EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make V=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install prefix=%{_prefix} mandir=%{_mandir}
|
make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/%{name}/*
|
%{_datadir}/%{name}/*
|
||||||
|
%{_libdir}/fio/*.so
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc REPORTING-BUGS examples MORAL-LICENSE GFIO-TODO SERVER-TODO STEADYSTATE-TODO
|
%doc REPORTING-BUGS examples MORAL-LICENSE GFIO-TODO SERVER-TODO STEADYSTATE-TODO
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 6 2022 huyab<1229981468@qq.com> - 3.32-1
|
||||||
|
- update version to 3.32-1
|
||||||
|
|
||||||
* Sun Aug 14 2022 tianlijing <tianlijing@kylinos.cn> - 3.30-1
|
* Sun Aug 14 2022 tianlijing <tianlijing@kylinos.cn> - 3.30-1
|
||||||
- upgrade to 3.30
|
- upgrade to 3.30
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user