BuildRequire six to fix a build failure

Six was previously transitively required by pytest, but is no longer.

However, no tests are present in the sdist, hence the entire %check section is moot.
This commit is contained in:
Miro Hrončok 2020-12-07 21:40:32 +01:00
parent b572014a88
commit 0e351582ab

View File

@ -8,7 +8,7 @@
Name: python-mock
Version: 3.0.5
Release: 11%{?dist}
Release: 12%{?dist}
Summary: A Python Mocking and Patching Library for Testing
License: BSD
@ -21,6 +21,7 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-six
%endif
@ -69,6 +70,9 @@ needed attributes in the normal way.
%changelog
* Mon Dec 07 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-12
- BuildRequire six to fix a build failure
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild