Remove irrelevant Obsoletes

This commit is contained in:
Tomas Orsava 2017-10-10 18:08:01 +02:00
parent 9b45e76f34
commit 270c6e750f

View File

@ -466,18 +466,6 @@ Obsoletes: system-python < %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# In order to support multiple Python interpreters for development purposes,
# packages with with the naming scheme pythonXY (e.g. python35) exist for
# non-default versions of Python 3.
# For consistency, and to keep the upgrade path clean, we Provide/Obsolete
# these names here.
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 platform_python}
%description -n python%{python3_pkgversion} %{_description_main}
%endif