Accepting request 857104 from home:bnavigator:branches:devel:languages:python

- New version requires typing_extensions for Python < 3.8
  (Leap and TW python36 flavor)

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 19 23:29:59 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- New version requires typing_extensions for Python < 3.8
(Leap and TW python36 flavor)
-------------------------------------------------------------------
Sat Dec 19 17:48:18 UTC 2020 - Dirk Müller <dmueller@suse.com>

View File

@ -40,8 +40,8 @@ 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
%if %{python_version_nodots} < 38
Requires: python-typing_extensions >= 3.6.4
%endif
Provides: python-importlib_metadata = %{version}
BuildArch: noarch
@ -55,6 +55,8 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zipp >= 0.5}
BuildRequires: (python3-typing_extensions >= 3.6.4 if python3-base < 3.8)
BuildRequires: (python36-typing_extensions >= 3.6.4 if python36-base)
%endif
%python_subpackages