From 07b4cdd8a557e41c9c738bf7b47d2b09467728db Mon Sep 17 00:00:00 2001 From: lihaotian9 Date: Thu, 10 Sep 2020 16:49:33 +0800 Subject: [PATCH] create iowatcher rpm sub-package --- blktrace.spec | 45 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/blktrace.spec b/blktrace.spec index 57e9865..35af94c 100644 --- a/blktrace.spec +++ b/blktrace.spec @@ -1,14 +1,12 @@ Name: blktrace Version: 1.2.0 -Release: 15 +Release: 16 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 gdb -Provides: iowatcher = %{version}-%{release} -Obsoletes: iowatcher < %{version}-%{release} Requires: python3 Patch1: 0001-jhash-fix-annoying-gcc-fall-through-warnings.patch @@ -52,14 +50,47 @@ make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_man %files %defattr(-,root,root) %doc README COPYING -%{_bindir}/* -%{_bindir}/iowatcher +%{_bindir}/blkparse +%{_bindir}/blkrawverify +%{_bindir}/bno_plot.py +%{_bindir}/btt +%{_bindir}/verify_blkparse +%{_bindir}/blkiomon +%{_bindir}/blktrace +%{_bindir}/btrace +%{_bindir}/btrecord +%{_bindir}/btreplay + %files help -%{_mandir}/man1/* -%{_mandir}/man8/* +%{_mandir}/man1/blkparse.* +%{_mandir}/man1/blkrawverify.* +%{_mandir}/man1/bno_plot.* +%{_mandir}/man1/btt.* +%{_mandir}/man1/verify_blkparse.* +%{_mandir}/man8/blkiomon.* +%{_mandir}/man8/blktrace.* +%{_mandir}/man8/btrace.* +%{_mandir}/man8/btrecord.* +%{_mandir}/man8/btreplay.* + +%package -n iowatcher +Summary: Utility for visualizing block layer IO patterns and performance +Requires: blktrace sysstat theora-tools + +%description -n iowatcher +iowatcher can plot multiple blktrace runs together and make it easy to +compare the differences between different benchmark runs. + +%files -n iowatcher +%doc README iowatcher/COPYING +%{_bindir}/iowatcher +%{_mandir}/man1/iowatcher.* %changelog +* Thu Sep 10 2020 lihaotian - 1.2.0-16 +- create iowatcher rpm sub-package + * Sun Jul 12 2020 Zhiqiang Liu - 1.2.0-15 - backport upstream patches -- Gitee