From c6732ec4bf2a32258382c13fb301c404122a3fef469eb1642cc3e8fd9e49c22c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 18 Jan 2021 23:38:08 +0000 Subject: [PATCH] - Add BuildRequires for python-dataclasses OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-moreorless?expand=0&rev=3 --- python-moreorless.changes | 5 +++++ python-moreorless.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-moreorless.changes b/python-moreorless.changes index 0c94a33..2bb52bc 100644 --- a/python-moreorless.changes +++ b/python-moreorless.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 18 23:37:35 UTC 2021 - Matej Cepl + +- Add BuildRequires for python-dataclasses + ------------------------------------------------------------------- Sun Oct 11 07:42:29 AM UTC 2020 - John Vandenberg diff --git a/python-moreorless.spec b/python-moreorless.spec index 8119a09..6107ce7 100644 --- a/python-moreorless.spec +++ b/python-moreorless.spec @@ -1,7 +1,7 @@ # # spec file for package python-moreorless # -# 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 @@ -30,7 +30,10 @@ BuildRequires: %{python_module setuptools >= 38.3.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: (python3-dataclasses if python3-base < 3.7) +BuildRequires: (python36-dataclasses if python36-base) Requires: python-click +Requires: python-dataclasses Requires: python-volatile BuildArch: noarch # SECTION test requirements