blktrace/blktrace.spec

65 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: blktrace
2019-09-30 10:32:35 -04:00
Version: 1.2.0
2020-02-06 13:58:08 +08:00
Release: 11
2019-09-30 10:32:35 -04:00
Summary: Block IO tracer in the Linux kernel
License: GPLv2+
Source: http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
URL: http://brick.kernel.dk/snaps
2019-09-30 10:32:35 -04:00
2020-02-06 13:58:08 +08:00
BuildRequires: gcc, git, xz, libaio-devel, python3, librsvg2-devel blktrace sysstat theora-tools
2019-09-30 10:32:35 -04:00
Provides: iowatcher
Obsoletes: iowatcher
2020-02-06 13:58:08 +08:00
Requires: python3
2019-09-30 10:32:35 -04:00
2020-02-17 09:52:49 +08:00
Patch0: blktrace-fix-btt-overflow.patch
Patch1: remove-python2-dependency.patch
2019-09-30 10:32:35 -04:00
%description
blktrace is a block layer IO tracing mechanism which provides detailed
information about request queue operations up to user space. This is
valuable for diagnosing and fixing performance or application problems
relating to block layer io.
%package help
Summary: Including man files for blktrace
Requires: man
%description help
This contains man files for the using of blktrace.
%prep
%autosetup -Sgit -n %{name}-%{version}
%build
%make_build all
%install
make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_mandir} install
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/*
%{_bindir}/iowatcher
%files help
%{_mandir}/man1/*
%{_mandir}/man8/*
%changelog
2020-02-17 10:10:18 +08:00
* Mon Feb 17 2020 sunshihao<sunshihao@huawei.com> - 1.2.0-11
2020-02-06 13:58:08 +08:00
- Type:enhancemnet
- ID:NA
- SUG:restart
2020-02-17 09:39:40 +08:00
- DESCi:blktrace remove python2 dependency
2020-02-06 13:58:08 +08:00
2019-09-30 10:32:35 -04:00
* Fri Aug 30 2019 zoujing<zoujing13@huawei.com> - 1.2.0-10
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESCi:openEuler Debranding
* Thu Aug 15 2019 Buildteam <buildteam@openeuler.org> - 1.2.0-9
- Package Initialization