Fix FTBFS with pytest-5 by dropping a BR on nose

Mako does not use nose, but if nose is installed in the BR, a
series of imports is triggered during the test run that causes an
Exception. Thus, this commit drops the unused build requirement.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2020-01-07 15:19:52 -05:00
parent 5f74222a24
commit 4b21a6f7db

View File

@ -1,6 +1,6 @@
Name: python-mako
Version: 1.1.0
Release: 3%{?dist}
Release: 4%{?dist}
BuildArch: noarch
# Mostly MIT, but _ast_util.py is Python licensed.
@ -17,7 +17,6 @@ BuildRequires: python3-setuptools
BuildRequires: python3-markupsafe
#BuildRequires: python3-beaker
BuildRequires: python3-mock
BuildRequires: python3-nose
%global _description\
Mako is a template library written in Python. It provides a familiar, non-XML\
@ -93,6 +92,9 @@ py.test-3
%changelog
* Tue Jan 07 2020 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-4
- Fix FTBFS with pytest-5 by dropping a BR on python-nose (mako does not use nose).
* Fri Nov 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
- Subpackage python2-mako has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal