diff --git a/python-dulwich.changes b/python-dulwich.changes index ca07d9f..1b26963 100644 --- a/python-dulwich.changes +++ b/python-dulwich.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 1 20:31:19 UTC 2023 - Lukas Müller + +- Add dependency typing_extension for Python versions <3.8. + ------------------------------------------------------------------- Thu Jan 19 12:02:56 UTC 2023 - Lukas Müller diff --git a/python-dulwich.spec b/python-dulwich.spec index a0c2779..0e9c39d 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -43,12 +43,16 @@ BuildRequires: %{python_module fastimport} BuildRequires: %{python_module geventhttpclient} BuildRequires: %{python_module gevent} BuildRequires: %{python_module gpg} +BuildRequires: %{python_module typing_extensions if %python-base < 3.8} BuildRequires: %{python_module urllib3 >= 1.24.1} %if 0%{?suse_version} <= 1500 BuildRequires: python-mock %endif %endif Requires: python-urllib3 >= 1.24.1 +%if %{python_version_nodots} < 38 +Requires: python-typing_extensions +%endif Requires(post): update-alternatives Requires(preun):update-alternatives Recommends: python-fastimport