diff --git a/python-astroid.changes b/python-astroid.changes index aa7a0d2..67aa7de 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 20 19:16:19 UTC 2021 - Ben Greiner + +- Add typing_extensions as requirement for python36 + ------------------------------------------------------------------- Thu Aug 19 13:13:43 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-astroid.spec b/python-astroid.spec index a909cb3..811ded1 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -30,6 +30,7 @@ BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typed-ast >= 1.4 if %python-base < 3.8} +BuildRequires: %{python_module typing_extensions if %python-base < 3.8} BuildRequires: %{python_module wrapt >= 1.11} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -38,6 +39,7 @@ Requires: python-wrapt >= 1.11 BuildArch: noarch %if 0%{?python_version_nodots} < 38 Requires: python-typed-ast >= 1.4 +Requires: python-typing_extensions %endif %python_subpackages