SHA256
1
0
forked from pool/python38

- Add provides for pytohn3X-typing/etc to allow BR on those still

to work when needed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal 2020-07-10 07:19:25 +00:00 committed by Git OBS Bridge
parent dc258d6692
commit a39a1b0f2c
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 10 07:18:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Add provides for pytohn3X-typing/etc to allow BR on those still
to work when needed
-------------------------------------------------------------------
Fri Jul 10 07:14:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -49,7 +49,7 @@
%else
%define tarversion %{version}
%endif
%define python_pkg_name python3
%define python_pkg_name python38
%define folderversion %{tarversion}
%define tarname Python-%{tarversion}
%define sitedir %{_libdir}/python%{python_version}
@ -279,18 +279,23 @@ Recommends: %{python_pkg_name} = %{version}
Obsoletes: python3 < 3.2
# no Provides, because python3 is obviously provided by package python3
# python 3.4 provides asyncio
Provides: %{python_pkg_name}-asyncio = %{version}
Provides: python3-asyncio = %{version}
Obsoletes: python3-asyncio < %{version}
# python 3.6 provides typing
Provides: %{python_pkg_name}-typing = %{version}
Provides: python3-typing = %{version}
Obsoletes: python3-typing < %{version}
# python3-xml was merged into python3, now moved into -base
Provides: %{python_pkg_name}-xml = %{version}
Provides: python3-xml = %{version}
Obsoletes: python3-xml < %{version}
# python-importlib-metadata was specifical project which was merged into 3.8
Provides: %{python_pkg_name}-importlib-metadata = %{version}
Provides: python3-importlib-metadata = %{version}
Obsoletes: python3-importlib-metadata < %{version}
# python-importlib_resources is a backport of 3.7 behaviour into older pythons
Provides: %{python_pkg_name}-importlib_resources = %{version}
Provides: python3-importlib_resources = %{version}
Obsoletes: python3-importlib_resources < %{version}