From c61ec4378ac47a2b45d649f9be331e788c866289 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Nov 28 2017 09:13:14 +0000 Subject: Obsolete platform-python and it's subpackages Raise the release of platform-python obsoletes for better maintainability --- diff --git a/python3.spec b/python3.spec index 96bcaac..9a70e6c 100644 --- a/python3.spec +++ b/python3.spec @@ -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 - 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 - 3.6.2-20 - Modified the spec file to build Platform-Python