15
0
forked from pool/python-astral

- BuildRequire dataclasses if python36-base installed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astral?expand=0&rev=22
This commit is contained in:
2021-01-20 04:24:25 +00:00
committed by Git OBS Bridge
parent b133f518dc
commit 2dfc8d46c9
2 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 20 04:21:00 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- BuildRequire dataclasses if python36-base installed
-------------------------------------------------------------------
Tue Nov 3 16:31:08 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-astral
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,6 @@ 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}
@@ -36,6 +32,7 @@ BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: (python36-dataclasses if python36-base)
Requires: python-pytz
Requires: python-requests
Recommends: python-dataclasses