From 1bc481d02c389cd8afae9be626983b5874d25b4e Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Fri, 2 Feb 2024 16:57:56 +0100 Subject: [PATCH] replace iotop see https://fedoraproject.org/wiki/Changes/Replace_iotop_with_iotop-c rename iotop-c executable back to iotop --- iotop-c.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/iotop-c.spec b/iotop-c.spec index ff2a984..73c30f7 100644 --- a/iotop-c.spec +++ b/iotop-c.spec @@ -1,6 +1,6 @@ Name: iotop-c Version: 1.25 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Simple top-like I/O monitor (implemented in C) License: GPL-2.0-or-later @@ -9,6 +9,9 @@ Source0: https://github.com/Tomas-M/iotop/releases/download/v%{version}/i Source1: https://github.com/Tomas-M/iotop/releases/download/v%{version}/iotop-%{version}.tar.xz.asc Source2: https://raw.githubusercontent.com/Tomas-M/iotop/v%{version}/debian/upstream/signing-key.asc +Provides: iotop +Obsoletes: iotop < 0.7 + BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: ncurses-devel @@ -42,16 +45,18 @@ NO_FLTO=1 %make_build %install V=1 STRIP=: %make_install -mv %{buildroot}%{_sbindir}/iotop %{buildroot}%{_sbindir}/iotop-c -mv %{buildroot}%{_mandir}/man8/iotop.8 %{buildroot}%{_mandir}/man8/iotop-c.8 %files %license COPYING %license LICENSE -%{_sbindir}/iotop-c -%{_mandir}/man8/iotop-c.8* +%{_sbindir}/iotop +%{_mandir}/man8/iotop.8* %changelog +* Thu Feb 01 2024 Michal Hlavinka - 1.25-4 +- replace iotop https://fedoraproject.org/wiki/Changes/Replace_iotop_with_iotop-c +- iotop-c executable renamed back to iotop + * Wed Jan 24 2024 Fedora Release Engineering - 1.25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild