From 1049bb93333fb16e5d8412703e9d8ff7f590220feeab611d9d7bdd331e6092d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=BCller?= Date: Wed, 1 Feb 2023 20:58:11 +0000 Subject: [PATCH] Accepting request 1062546 from home:expeehaa:branches:devel:tools:scm - Add dependency typing_extension for Python versions <3.8. OBS-URL: https://build.opensuse.org/request/show/1062546 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=22 --- python-dulwich.changes | 5 +++++ python-dulwich.spec | 4 ++++ 2 files changed, 9 insertions(+) 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