Remove unused dependencies on pbr

This commit is contained in:
Petr Viktorin 2019-11-01 17:09:43 +01:00
parent c0be6bc7db
commit 88fc1fefc9

View File

@ -14,7 +14,7 @@
Name: python-mock
Version: 3.0.5
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A Python Mocking and Patching Library for Testing
License: BSD
@ -25,7 +25,6 @@ BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-funcsigs
BuildRequires: python2-pbr
%if %{with tests}
BuildRequires: python2-pytest
%endif
@ -33,7 +32,6 @@ BuildRequires: python2-pytest
%if 0%{?with_python3}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python3-pbr
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
%endif
@ -51,7 +49,6 @@ needed attributes in the normal way.
Summary: A Python Mocking and Patching Library for Testing
%{?python_provide:%python_provide python2-%{mod_name}}
Requires: python2-funcsigs
Requires: python2-pbr
Requires: python2-six >= 1.9.0
%description -n python2-mock
@ -64,7 +61,6 @@ arguments they were called with. You can also specify return values and set
%package -n python%{python3_pkgversion}-mock
Summary: A Python Mocking and Patching Library for Testing
%{?python_provide:%python_provide python%{python3_pkgversion}-%{mod_name}}
Requires: python3-pbr
Requires: python3-six >= 1.9.0
%description -n python%{python3_pkgversion}-mock
@ -118,6 +114,10 @@ needed attributes in the normal way.
%changelog
* Fri Nov 01 2019 Petr Viktorin <pviktori@redhat.com> - 3.0.5-6
- Remove unused dependencies on pbr
The current version of Mock does not use pbr.
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-5
- Rebuilt for Python 3.8.0rc1 (#1748018)