Remove python2-psutil subpackage
This commit is contained in:
parent
09334626bd
commit
d5294ab2c6
@ -1,12 +1,12 @@
|
|||||||
Name: python-psutil
|
Name: python-psutil
|
||||||
Version: 5.4.3
|
Version: 5.4.3
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A library for retrieving information on running processes and system utilization in Python
|
Summary: A library for retrieving information on running processes and system utilization in Python
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/giampaolo/psutil
|
URL: https://github.com/giampaolo/psutil
|
||||||
Source0: https://github.com/giampaolo/psutil/archive/release-%{version}.tar.gz#/psutil-%{version}.tar.gz
|
Source0: https://github.com/giampaolo/psutil/archive/release-%{version}.tar.gz#/psutil-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc python2-devel python3-devel procps-ng python2-mock python3-mock python2-ipaddress
|
BuildRequires: gcc python3-devel procps-ng python3-mock
|
||||||
|
|
||||||
%description
|
%description
|
||||||
psutil (process and system utilities) is a cross-platform library for retrieving information
|
psutil (process and system utilities) is a cross-platform library for retrieving information
|
||||||
@ -15,18 +15,6 @@ It is useful mainly for system monitoring, profiling and limiting process resour
|
|||||||
management of running processes.It implements many functionalities offered by classic UNIX
|
management of running processes.It implements many functionalities offered by classic UNIX
|
||||||
command line tools such as ps, top, iotop, lsof, netstat, ifconfig, free and others.
|
command line tools such as ps, top, iotop, lsof, netstat, ifconfig, free and others.
|
||||||
|
|
||||||
%package -n python2-psutil
|
|
||||||
Summary: A library for retrieving information on running processes and system utilization in Python2
|
|
||||||
%{?python_provide:%python_provide python2-psutil}
|
|
||||||
Obsoletes: python-psutil < 3.1.1-3
|
|
||||||
|
|
||||||
%description -n python2-psutil
|
|
||||||
psutil (process and system utilities) is a cross-platform library for retrieving information
|
|
||||||
on running processes and system utilization (CPU, memory, disks, network, sensors) in Python2.
|
|
||||||
It is useful mainly for system monitoring, profiling and limiting process resources and
|
|
||||||
management of running processes.It implements many functionalities offered by classic UNIX
|
|
||||||
command line tools such as ps, top, iotop, lsof, netstat, ifconfig, free and others.
|
|
||||||
|
|
||||||
%package -n python3-psutil
|
%package -n python3-psutil
|
||||||
Summary: A library for retrieving information on running processes and system utilization in Python3
|
Summary: A library for retrieving information on running processes and system utilization in Python3
|
||||||
%{?python_provide:%python_provide python3-psutil}
|
%{?python_provide:%python_provide python3-psutil}
|
||||||
@ -48,19 +36,11 @@ find psutil -name \*.py | while read file; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-psutil
|
|
||||||
%license LICENSE
|
|
||||||
%doc CREDITS HISTORY.rst README.rst
|
|
||||||
%{python2_sitearch}/psutil/
|
|
||||||
%{python2_sitearch}/*.egg-info
|
|
||||||
|
|
||||||
%files -n python3-psutil
|
%files -n python3-psutil
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CREDITS HISTORY.rst README.rst
|
%doc CREDITS HISTORY.rst README.rst
|
||||||
@ -68,5 +48,8 @@ done
|
|||||||
%{python3_sitearch}/*.egg-info
|
%{python3_sitearch}/*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 05 2020 lingsheng <lingsheng@huawei.com> - 5.4.3-8
|
||||||
|
- Remove python2-psutil subpackage
|
||||||
|
|
||||||
* Sat Nov 23 2019 zhouyihang <zhouyihang1@huawei.com> - 5.4.3-7
|
* Sat Nov 23 2019 zhouyihang <zhouyihang1@huawei.com> - 5.4.3-7
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user