Remove unnecessary bits
- Remove unnecessary test dependency on python3-mock - Remove unnecessary macro __provides_exclude_from
This commit is contained in:
parent
aed98cae09
commit
6bd1fcc572
@ -1,12 +1,9 @@
|
|||||||
%global srcname psutil
|
%global srcname psutil
|
||||||
%global sum A process and system utilities module for Python
|
%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}
|
Name: python-%{srcname}
|
||||||
Version: 5.8.0
|
Version: 5.8.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -22,7 +19,6 @@ BuildRequires: gcc
|
|||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
BuildRequires: procps-ng
|
BuildRequires: procps-ng
|
||||||
BuildRequires: python%{python3_pkgversion}-mock
|
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
|
||||||
%if 0%{?fedora} < 32 && 0%{?rhel} < 9
|
%if 0%{?fedora} < 32 && 0%{?rhel} < 9
|
||||||
@ -110,6 +106,10 @@ make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sit
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user