15
0
forked from pool/python-astral

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
This commit is contained in:
2020-11-03 20:57:32 +00:00
committed by Git OBS Bridge
parent 40bf1a35bb
commit b133f518dc
2 changed files with 9 additions and 0 deletions

View File

@@ -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}