- add typing-extensions dependency for older python versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=7
This commit is contained in:
Dirk Mueller 2020-12-20 09:09:29 +00:00 committed by Git OBS Bridge
parent e392bd1c3b
commit 4591ab860e
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Sat Dec 19 17:48:18 UTC 2020 - Dirk Müller <dmueller@suse.com>
formally-defined protocol called ``PackageMetadata``
with declared support for the ``.get_all()`` method.
Fixes #126.
- add typing-extensions dependency for older python versions
-------------------------------------------------------------------
Mon Dec 7 17:50:51 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -40,6 +40,9 @@ BuildRequires: %{python_module toml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-zipp >= 0.5
%if %{python3_version_nodots} < 38
Requires: python-typing-extensions >= 3.6.4
%endif
Provides: python-importlib_metadata = %{version}
BuildArch: noarch
%if %{with test}