diff --git a/python38.changes b/python38.changes index b000185..848d215 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 2 10:57:45 UTC 2020 - Matej Cepl + +- 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 diff --git a/python38.spec b/python38.spec index 2d50928..ea9a6e3 100644 --- a/python38.spec +++ b/python38.spec @@ -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