Reword and expand comment on Provides/Obsoletes of pythonXY
This commit is contained in:
parent
1824b3ec27
commit
f50a7d31c3
16
python3.spec
16
python3.spec
@ -491,13 +491,17 @@ Obsoletes: system-python < %{version}-%{release}
|
|||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
# In order to support multiple python interpreters, apart from the system python3,
|
# In order to support multiple Python interpreters for development purposes,
|
||||||
# for development purposes, new packages were introduced which can be installed in parallel
|
# packages with with the naming scheme pythonXY (e.g. python35) exist for
|
||||||
# with the main python3 package (e.g. 1369688), with the naming scheme 'python<version>',
|
# non-default versions of Python 3.
|
||||||
# however in order to keep the upgrade path clean we need to Obsolete and Provide
|
# For consistency, and to keep the upgrade path clean, we Provide/Obsolete
|
||||||
# these packages at the main python3 package.
|
# these names here.
|
||||||
Obsoletes: python%{pyshortver}
|
|
||||||
Provides: python%{pyshortver} = %{version}-%{release}
|
Provides: python%{pyshortver} = %{version}-%{release}
|
||||||
|
# Note that using Obsoletes without package version is not standard practice.
|
||||||
|
# Here we assert that *any* version of the system's default interpreter is
|
||||||
|
# preferable to an "extra" interpreter. For example, python3-3.6.1 will
|
||||||
|
# replace python36-3.6.2.
|
||||||
|
Obsoletes: python%{pyshortver}
|
||||||
|
|
||||||
%if %{with rewheel}
|
%if %{with rewheel}
|
||||||
Requires: python3-setuptools
|
Requires: python3-setuptools
|
||||||
|
Loading…
Reference in New Issue
Block a user