From efcff0681f53cd56496afe7bf11957345980b97cc4189f48ed320b5f79d00537 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 28 Jan 2021 04:01:41 +0000 Subject: [PATCH] - BuildRequires on the dataclasses module if using python 3.6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=13 --- python-injector.changes | 5 +++++ python-injector.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-injector.changes b/python-injector.changes index 7a79f33..02ffd71 100644 --- a/python-injector.changes +++ b/python-injector.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 28 04:00:57 UTC 2021 - Steve Kowalik + +- BuildRequires on the dataclasses module if using python 3.6 + ------------------------------------------------------------------- Thu Apr 9 05:21:45 UTC 2020 - Steve Kowalik diff --git a/python-injector.spec b/python-injector.spec index 4c50c49..9c54de6 100644 --- a/python-injector.spec +++ b/python-injector.spec @@ -1,7 +1,7 @@ # # spec file for package python-injector # -# 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 @@ -31,6 +31,7 @@ BuildRequires: %{python_module typing_extensions >= 3.7.4} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: ((python3-dataclasses and python3-base < 3.7) or (python36-dataclasses and python36-base)) Requires: python Requires: python-typing_extensions >= 3.7.4 BuildArch: noarch