Remove incorrect python3-dateutil test BuildRequires

In the latest tomli version, the test suite moved from pytest to
unittest and removed the python-dateutil dependency [1]. This commit
removes the python-dateutil BR but keeps the pytest BR so we can use
%pytest as the test runner.

[1]: https://github.com/hukkin/tomli/blob/master/CHANGELOG.md#201
This commit is contained in:
Maxwell G 2022-10-07 00:17:47 -05:00 committed by Miro Hrončok
parent 11ac7e21ad
commit 0e786ce3a3

View File

@ -6,7 +6,7 @@
Name: python-tomli
Version: 2.0.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A little TOML parser for Python
License: MIT
@ -17,10 +17,9 @@ BuildArch: noarch
BuildRequires: python3-devel
%if %{without bootstrap}
# Upstream test requirements are in tests/requirements.txt,
# but they're mixed together with coverage ones. Tests only need:
# The test suite uses the stdlib's unittest framework, but we use %%pytest
# as the test runner.
BuildRequires: python3-pytest
BuildRequires: python3-dateutil
%endif
%global _description %{expand:
@ -90,6 +89,9 @@ grep '^Requires-Dist:' %{buildroot}%{python3_sitelib}/tomli-%{version}.dist-info
%changelog
* Fri Oct 07 2022 Maxwell G <gotmax@e.email> - 2.0.1-5
- Remove incorrect python3-dateutil test BuildRequires
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild