From 2515a29c75fab5a71a3f28f36bed2fc46ff36bae Mon Sep 17 00:00:00 2001 From: Li Jinlin Date: Mon, 16 May 2022 17:53:13 +0800 Subject: [PATCH] provide iowatcher via Provide (cherry picked from commit 958edb7506db39743c23414a68ccfbab1a44a258) --- blktrace.spec | 45 +++++++++++---------------------------------- 1 file changed, 11 insertions(+), 34 deletions(-) diff --git a/blktrace.spec b/blktrace.spec index fc48281..ab9569d 100644 --- a/blktrace.spec +++ b/blktrace.spec @@ -1,12 +1,14 @@ Name: blktrace Version: 1.3.0 -Release: 1 +Release: 2 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, xz, libaio-devel, python3, librsvg2-devel blktrace sysstat theora-tools +Provides: iowatcher = %{version}-%{release} +Obsoletes: iowatcher < %{version}-%{release} Requires: python3 Patch1: 0001-blktrace-remove-python2-dedpendency.patch @@ -38,44 +40,19 @@ make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_man %files %defattr(-,root,root) %doc README COPYING -%{_bindir}/blkparse -%{_bindir}/blkrawverify -%{_bindir}/bno_plot.py -%{_bindir}/btt -%{_bindir}/verify_blkparse -%{_bindir}/blkiomon -%{_bindir}/blktrace -%{_bindir}/btrace -%{_bindir}/btrecord -%{_bindir}/btreplay +%{_bindir}/* +%{_bindir}/iowatcher %files help -%{_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, -comparing the differences between different benchmark runs. - -%files -n iowatcher -%doc README iowatcher/COPYING -%{_bindir}/iowatcher -%{_mandir}/man1/iowatcher.* +%{_mandir}/man1/* +%{_mandir}/man8/* + %changelog +* Mon May 16 2022 Li Jinlin - 1.3.0-2 +- provide iowatcher via Provides + * Mon Nov 22 2021 Li Jinlin - 1.3.0-1 - Update blktrace version to 1.3.0-1 -- Gitee