Add the missing depedency on python-testtools

This commit is contained in:
Karolina Surma 2023-07-03 19:30:21 +02:00
commit 1042580696

View file

@ -17,7 +17,7 @@
Name: python-%{srcname}
Version: 0.5.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A Python library to provide automatic paging for console output
License: ASL 2.0
URL: https://pypi.python.org/pypi/autopage
@ -37,9 +37,15 @@ Summary: %{summary}
BuildRequires: python3-devel
%if %{with pyproject}
BuildRequires: pyproject-rpm-macros
# autopage should ideally require fixtures[streams], but we don't have that
# packaged in Fedora yet. Once it's available, we should backport the
# upstream change in tox.ini: https://github.com/zaneb/autopage/commit/08aec4a975d8
# and remove the BuildRequire below
BuildRequires: %{py3_dist testtools}
%else
%if %{with enable_tests}
BuildRequires: %{py3_dist fixtures}
BuildRequires: %{py3_dist testtools}
%endif
%endif
@ -90,6 +96,9 @@ cp %{SOURCE1} ./
%doc README.md
%changelog
* Mon Jul 03 2023 Karolina Surma <ksurma@redhat.com> - 0.5.1-5
- Add the missing test dependency on python-testtools
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild