diff --git a/SPECS/python-psutil.spec b/SPECS/python-psutil.spec index 775d8f0..fc0b05a 100644 --- a/SPECS/python-psutil.spec +++ b/SPECS/python-psutil.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 5.8.0 -Release: 9%{?dist} +Release: 11%{?dist} Summary: %{sum} License: BSD @@ -47,6 +47,12 @@ a portable way by using Python 3, implementing many functionalities offered by command line tools such as: ps, top, df, kill, free, lsof, free, netstat, ifconfig, nice, ionice, iostat, iotop, uptime, pidof, tty, who, taskset, pmap. +%package -n python%{python3_pkgversion}-psutil-tests +Summary: %{sum}, test suite +Requires: python%{python3_pkgversion}-psutil%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n python%{python3_pkgversion}-psutil-tests +The test suite for psutil. %prep %autosetup -p1 -n %{srcname}-release-%{version} @@ -76,9 +82,20 @@ make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sit %doc CREDITS HISTORY.rst README.rst %{python3_sitearch}/%{srcname}/ %{python3_sitearch}/*.egg-info +%exclude %{python3_sitearch}/%{srcname}/tests +%files -n python%{python3_pkgversion}-%{srcname}-tests +%{python3_sitearch}/%{srcname}/tests/ %changelog +* Fri Aug 20 2021 Charalampos Stratakis - 5.8.0-11 +- Separate the tests to their own subpackage +Resolves: rhbz#1990466 + +* Tue Aug 10 2021 Mohan Boddu - 5.8.0-10 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + * Fri Apr 16 2021 Mohan Boddu - 5.8.0-9 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937