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