Add conditional BR for python-dataclasses

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fasttext?expand=0&rev=2
This commit is contained in:
Matej Cepl 2022-05-24 20:44:32 +00:00 committed by Git OBS Bridge
parent 8246b60061
commit a0061f0331

View File

@ -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}