Separate the tests to their own subpackage
Add patch to add delta for cpu tests. Resolves: rhbz#1990466
This commit is contained in:
parent
8a42dd1112
commit
fa38996cea
@ -3,7 +3,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 5.8.0
|
||||
Release: 10%{?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,16 @@ 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 <cstratak@redhat.com> - 5.8.0-11
|
||||
- Separate the tests to their own subpackage
|
||||
Resolves: rhbz#1990466
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.8.0-10
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user