- Add importlib_resources provide/obsolete as it is integral

part of the lang since 3.7 release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=41
This commit is contained in:
Matej Cepl 2020-12-02 10:59:25 +00:00 committed by Git OBS Bridge
parent 35dd29ddf6
commit ddee5138e4
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 2 10:57:45 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add importlib_resources provide/obsolete as it is integral
part of the lang since 3.7 release
-------------------------------------------------------------------
Fri Nov 20 14:40:09 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -174,9 +174,11 @@ BuildRequires: pkgconfig(libtirpc)
# Here we just run sphinx and we can use generic one, we don't need
# the flavor variant
BuildRequires: python3-Sphinx < 3.0
%if 0%{?suse_version} > 1500
BuildRequires: python3-python-docs-theme
BuildRequires: python3-sphinxcontrib-qthelp >= 1.0.2
%endif
%endif
%if %{with general}
# required for idle3 (.desktop and .appdata.xml files)
BuildRequires: appstream-glib
@ -299,6 +301,10 @@ Provides: %{python_pkg_name}-asyncio = %{version}
Provides: %{python_pkg_name}-typing = %{version}
# python3-xml was merged into python3, now moved into -base
Provides: %{python_pkg_name}-xml = %{version}
# python-importlib-metadata was specifical project which was merged into 3.8
Provides: %{python_pkg_name}-importlib-metadata = %{version}
# python-importlib_resources is a backport of 3.7 behaviour into older pythons
Provides: %{python_pkg_name}-importlib_resources = %{version}
%if %{primary_interpreter}
Provides: python3-asyncio = %{version}
Provides: python3-base = %{version}
@ -307,6 +313,10 @@ Provides: python3-typing = %{version}
Obsoletes: python3-typing < %{version}
Provides: python3-xml = %{version}
Obsoletes: python3-xml < %{version}
Provides: python3-importlib-metadata = %{version}
Obsoletes: python3-importlib-metadata < %{version}
Provides: python3-importlib_resources = %{version}
Obsoletes: python3-importlib_resources < %{version}
%endif
%description -n %{python_pkg_name}-base