From ce7ed315c45deb8e89d391640085ac84ca512aab Mon Sep 17 00:00:00 2001 From: wangzhiqiang Date: Tue, 26 Jul 2022 21:11:34 +0800 Subject: [PATCH] specify the installation path as usr/sbin (cherry picked from commit 54b3ee0c46a40bd5871ed9921697d754c937307a) --- iotop.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/iotop.spec b/iotop.spec index 6aa4b41..23c8022 100644 --- a/iotop.spec +++ b/iotop.spec @@ -1,6 +1,6 @@ Name: iotop Version: 0.6 -Release: 23 +Release: 24 Summary: Simple top-like I/O monitor License: GPLv2+ URL: http://guichaz.free.fr/iotop/ @@ -46,7 +46,7 @@ This contains man files for the using of iotop %py3_build %install -%py3_install +%{__python3} setup.py install -O1 --skip-build --root=%{buildroot} --install-scripts=%{_sbindir} %files %doc README @@ -58,6 +58,9 @@ This contains man files for the using of iotop %{_mandir}/man8/iotop.* %changelog +* Tue Jul 26 2022 wangzhiqiang - 0.6-24 +- DESC: specify the installation path as usr/sbin + * Fri Jul 30 2021 chenyanpanHW - 0.6-23 - DESC: delete -S git from %autosetup, and delete BuildRequires git