specify the installation path as usr/sbin

(cherry picked from commit 54b3ee0c46a40bd5871ed9921697d754c937307a)
This commit is contained in:
wangzhiqiang 2022-07-26 21:11:34 +08:00 committed by openeuler-sync-bot
parent 6817675943
commit ce7ed315c4

View File

@ -1,6 +1,6 @@
Name: iotop Name: iotop
Version: 0.6 Version: 0.6
Release: 23 Release: 24
Summary: Simple top-like I/O monitor Summary: Simple top-like I/O monitor
License: GPLv2+ License: GPLv2+
URL: http://guichaz.free.fr/iotop/ URL: http://guichaz.free.fr/iotop/
@ -46,7 +46,7 @@ This contains man files for the using of iotop
%py3_build %py3_build
%install %install
%py3_install %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} --install-scripts=%{_sbindir}
%files %files
%doc README %doc README
@ -58,6 +58,9 @@ This contains man files for the using of iotop
%{_mandir}/man8/iotop.* %{_mandir}/man8/iotop.*
%changelog %changelog
* Tue Jul 26 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.6-24
- DESC: specify the installation path as usr/sbin
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.6-23 * Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.6-23
- DESC: delete -S git from %autosetup, and delete BuildRequires git - DESC: delete -S git from %autosetup, and delete BuildRequires git