diff --git a/python-astral.changes b/python-astral.changes index 95756e4..c280369 100644 --- a/python-astral.changes +++ b/python-astral.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 3 16:31:08 UTC 2020 - Guillaume GARDET + +- Fix %check on Leap 15.2 + ------------------------------------------------------------------- Fri Jun 12 15:00:14 UTC 2020 - Antonio Larrosa diff --git a/python-astral.spec b/python-astral.spec index 8dff87d..3e78a98 100644 --- a/python-astral.spec +++ b/python-astral.spec @@ -25,6 +25,10 @@ Summary: Calculations for the position of the sun and moon License: Apache-2.0 URL: https://github.com/sffjunkie/astral Source: https://files.pythonhosted.org/packages/source/a/astral/astral-%{version}.tar.gz +%if 0%{?suse_version} <= 1500 +# Not required for Tumbleweed +BuildRequires: %{python_module dataclasses} +%endif BuildRequires: %{python_module freezegun} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz}