From b133f518dce16a5879af8c64f69c0660efc5e7c7d0ebbc04e56d68e2d72ea29f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 3 Nov 2020 20:57:32 +0000 Subject: [PATCH] Accepting request 845793 from home:Guillaume_G:branches:devel:languages:python - Fix %check on Leap 15.2 OBS-URL: https://build.opensuse.org/request/show/845793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astral?expand=0&rev=20 --- python-astral.changes | 5 +++++ python-astral.spec | 4 ++++ 2 files changed, 9 insertions(+) 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}