replace iotop

see https://fedoraproject.org/wiki/Changes/Replace_iotop_with_iotop-c
rename iotop-c executable back to iotop
This commit is contained in:
Michal Hlavinka 2024-02-02 16:57:56 +01:00
parent dc777dc046
commit 1bc481d02c

View File

@ -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 <mhlavink@redhat.com> - 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 <releng@fedoraproject.org> - 1.25-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild