Remove unnecessary bits

- Remove unnecessary test dependency on python3-mock
- Remove unnecessary macro __provides_exclude_from
This commit is contained in:
Tomas Orsava 2021-01-28 12:36:03 +01:00
parent aed98cae09
commit 6bd1fcc572
1 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,9 @@
%global srcname psutil
%global sum A process and system utilities module for Python
# Filter Python modules from Provides
%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
Name: python-%{srcname}
Version: 5.8.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: %{sum}
License: BSD
@ -22,7 +19,6 @@ BuildRequires: gcc
BuildRequires: python%{python3_pkgversion}-devel
# Test dependencies
BuildRequires: procps-ng
BuildRequires: python%{python3_pkgversion}-mock
BuildRequires: python%{python3_pkgversion}-setuptools
%if 0%{?fedora} < 32 && 0%{?rhel} < 9
@ -110,6 +106,10 @@ make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sit
%changelog
* Thu Jan 28 2021 Tomas Orsava <torsava@redhat.com> - 5.8.0-5
- Remove unnecessary test dependency on python3-mock
- Remove unnecessary macro __provides_exclude_from
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild