From a0061f0331f76af4966dd71c93fc61c88bfe4341386deac0fdce5ef07859b618 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 24 May 2022 20:44:32 +0000 Subject: [PATCH] Add conditional BR for python-dataclasses OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fasttext?expand=0&rev=2 --- python-fasttext.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-fasttext.spec b/python-fasttext.spec index 9112d8a..410499b 100644 --- a/python-fasttext.spec +++ b/python-fasttext.spec @@ -32,6 +32,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: gcc-c++ BuildRequires: python-rpm-macros +BuildRequires: (python3-dataclasses if python3-base < 3.7) # SECTION test requirements BuildRequires: %{python_module numpy} BuildRequires: %{python_module pybind11 >= 2.2}