Obsolete platform-python and it's subpackages

Raise the release of platform-python obsoletes for better maintainability
This commit is contained in:
Tomas Orsava 2017-11-28 10:13:14 +01:00
parent 4704498937
commit c61ec4378a
1 changed files with 27 additions and 0 deletions

View File

@ -454,6 +454,13 @@ Requires: python3-pip
Summary: %{summary}
%endif
# Shall be removed in Fedora 31
# The release is bumped to 20, so we can do f27 platform-python updates
# If the release in f27 ever goes >= 20, raise it here
# If platform-python is ever reintroduced, make it higher version than this:
%global platpyver 3.6.2-20
Obsoletes: platform-python < %{platpyver}
# Packages with Python modules in standard locations automatically
# depend on python(abi). Provide that here.
Provides: python(abi) = %{pybasever}
@ -488,6 +495,10 @@ Provides: system-python-libs = %{version}-%{release}
Provides: system-python-libs%{?_isa} = %{version}-%{release}
Obsoletes: system-python-libs < %{version}-%{release}
# Shall be removed in Fedora 31
Obsoletes: platform-python-libs < %{platpyver}
Obsoletes: platform-python-libs-devel < %{platpyver}
%global _description_libs \
This package contains runtime libraries for use by Python:\
- the majority of the Python standard library\
@ -523,6 +534,9 @@ Requires: redhat-rpm-config
Conflicts: %{name} < %{version}-%{release}
# Shall be removed in Fedora 31
Obsoletes: platform-python-devel < %{platpyver}
%global _description_devel \
This package contains the header files and configuration needed to compile\
Python extension modules (typically written in C or C++), to embed Python\
@ -558,6 +572,9 @@ Provides: idle3 = %{version}-%{release}
Conflicts: python2-tools < 2.7.13-17
Conflicts: python-tools < 2.7.13-17
# Shall be removed in Fedora 31
Obsoletes: platform-python-tools < %{platpyver}
%global _description_tools \
This package contains several tools included with Python, including:\
- 2to3, an automatic source converter from Python 2.X\
@ -579,6 +596,9 @@ Requires: python%{python3_pkgversion}-tools = %{version}
Summary: A GUI toolkit for Python
Requires: %{name} = %{version}-%{release}
# Shall be removed in Fedora 31
Obsoletes: platform-python-tkinter < %{platpyver}
%global _description_tkinter \
The Tkinter (Tk interface) library is a graphical user interface toolkit for\
the Python programming language.
@ -600,6 +620,9 @@ Summary: The self-test suite for the main python3 package
Requires: %{name} = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release}
# Shall be removed in Fedora 31
Obsoletes: platform-python-test < %{platpyver}
%global _description_test \
The self-test suite for the Python interpreter.\
\
@ -1695,6 +1718,10 @@ fi
# ======================================================
%changelog
* Tue Nov 28 2017 Tomas Orsava <torsava@redhat.com> - 3.6.2-21
- Obsolete platform-python and it's subpackages
- Raise the release of platform-python obsoletes for better maintainability
* Thu Oct 05 2017 Tomas Orsava <torsava@redhat.com> - 3.6.2-20
- Modified the spec file to build Platform-Python