diff --git a/python-sphinx-autodoc-typehints.changes b/python-sphinx-autodoc-typehints.changes index 3b33a03..f4139cc 100644 --- a/python-sphinx-autodoc-typehints.changes +++ b/python-sphinx-autodoc-typehints.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 28 13:03:06 UTC 2024 - Daniel Garcia + +- Remove python-nptyping BuildRequirement for SLFO:Main + ------------------------------------------------------------------- Mon Sep 23 09:25:23 UTC 2024 - Dirk Müller diff --git a/python-sphinx-autodoc-typehints.spec b/python-sphinx-autodoc-typehints.spec index 0e31082..70bd27e 100644 --- a/python-sphinx-autodoc-typehints.spec +++ b/python-sphinx-autodoc-typehints.spec @@ -49,10 +49,15 @@ BuildArch: noarch # SECTION tests BuildRequires: %{python_module Sphinx >= 7.3.5} BuildRequires: %{python_module doc} -BuildRequires: %{python_module nptyping >= 2.5} BuildRequires: %{python_module pytest >= 8.1.1} BuildRequires: %{python_module sphobjinv >= 2.3.1} BuildRequires: %{python_module typing_extensions >= 4.11} + +# Do not depend on nptyping and for SLFO:Main +%if 0%{suse_version} > 1600 +BuildRequires: %{python_module nptyping >= 2.5} +%endif + %endif # /SECTION %python_subpackages