blktrace/blktrace.spec
zhouwenpei 572ba83200 remove useless buildrequires
Conflicts:
	blktrace.spec

Conflicts:
	blktrace.spec
2021-09-28 22:09:22 +08:00

109 lines
3.4 KiB
RPMSpec

Name: blktrace
Version: 1.2.0
Release: 21
Summary: Block IO tracer in the Linux kernel
License: GPLv2+
Source: http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
URL: https://git.kernel.dk/cgit/blktrace
BuildRequires: gcc, git, xz, libaio-devel, python3, librsvg2-devel blktrace sysstat theora-tools
Provides: iowatcher = %{version}-%{release}
Obsoletes: iowatcher < %{version}-%{release}
Requires: python3
Patch1: 0001-jhash-fix-annoying-gcc-fall-through-warnings.patch
Patch2: 0002-btt-devs-silence-warning-on-sprintf-overflow.patch
Patch3: 0003-btt-Fix-overlapping-IO-stats.patch
Patch4: 0004-blktrace-don-t-stop-tracer-if-not-setup-trace-succes.patch
Patch5: 0005-blkparse-remove-duplicated-entry-for-flag-M.patch
Patch6: 0006-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch
Patch7: 0007-make-btt-scripts-python3-ready.patch
Patch8: 0008-blktrace-remove-python2-dedpendency.patch
Patch9: 0009-btreplay-fix-device-IO-remap-functionality.patch
Patch10: 0010-blkparse-split-off-the-timestamp-correction-code-in-.patch
Patch11: 0011-blkparse-fix-absolute-timestamp-when-reading-from-fi.patch
Patch12: 0012-btt_plot.py-Use-with-open-as-.-context-manager.patch
Patch13: 0013-blkparse-Fix-device-in-event-tracking-error-messages.patch
Patch14: 0014-blkparse-Allow-request-tracking-on-non-md-dm-devices.patch
Patch15: 0015-blkparse-Initialize-and-test-for-undefined-request-t.patch
Patch16: blktrace-fix-exit-directly-when-nthreads-running.patch
%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 -j1 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
* Fri Jul 23 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.2.0-21
- remove useless buildrequires
* Sun Jul 12 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.2.0-20
- backport upstream patches
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 1.2.0-19
- rebuild package
* Mon Jul 05 2021 linxiaoran<linxiaoran@huawei.com> - 1.2.0-18
- blktrace fix exit direclty when nthreads running
* Tue Feb 9 2021 Zhiqiang Liu<liuzhiqiang26@huawei.com> - 1.2.0-17
- set release num to 17 for CI
* Tue Aug 18 2020 smileknife<jackshan2010@aliyun.com> - 1.2.0-14
- update release for rebuild package
* Wed Mar 18 2020 sunshihao<sunshihao@huawei.com> - 1.2.0-13
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESCi:modify python2 expression to python3
* Tue Feb 25 2020 hy-euler <eulerstoragemt@huawei.com> - 1.2.0-12
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESC:modify the URL to git web in spec file
* Mon Feb 17 2020 sunshihao<sunshihao@huawei.com> - 1.2.0-11
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESC:blktrace remove python2 dependency
* Fri Aug 30 2019 zoujing<zoujing13@huawei.com> - 1.2.0-10
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESC:openEuler Debranding
* Thu Aug 15 2019 Buildteam <buildteam@openeuler.org> - 1.2.0-9
- Package Initialization