From c4828d0720bc3ab646a4c0b921a7b3b377334a97 Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Tue, 14 Jan 2020 23:07:18 +0800 Subject: [PATCH] delete unneeded obsoletes with isa --- python2.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/python2.spec b/python2.spec index bdfab04..464068a 100644 --- a/python2.spec +++ b/python2.spec @@ -15,7 +15,7 @@ %undefine _debuginfo_subpackages Name: python2 Version: 2.7.16 -Release: 8 +Release: 9 Summary: Python is an interpreted, interactive object-oriented programming language suitable License: Python URL: https://www.python.org/ @@ -112,9 +112,7 @@ Provides: python27 = %{version}-%{release} Provides: python(abi) = %{pybasever} Obsoletes: python-libs < %{version}-%{release} -Obsoletes: python-libs%{?_isa} < %{version}-%{release} Obsoletes: %{name}-libs < %{version}-%{release} -Obsoletes: %{name}-libs%{?_isa} < %{version}-%{release} Provides: python-libs = %{version}-%{release} Provides: python-libs%{?_isa} = %{version}-%{release} @@ -134,11 +132,8 @@ Summary: A graphical user interface for the Python 2 scripting language Requires: %{name} = %{version}-%{release} Obsoletes: tkinter < %{version}-%{release} -Obsoletes: tkinter%{?_isa} < %{version}-%{release} Obsoletes: tkinter2 < %{version}-%{release} -Obsoletes: tkinter2%{?_isa} < %{version}-%{release} Obsoletes: python-tkinter < %{version}-%{release} -Obsoletes: python-tkinter%{?_isa} < %{version}-%{release} Provides: tkinter = %{version}-%{release} Provides: tkinter%{?_isa} = %{version}-%{release} @@ -165,13 +160,11 @@ Provides: python-devel = %{version}-%{release} Provides: python-devel%{?_isa} = %{version}-%{release} Obsoletes: python-test < %{version}-%{release} -Obsoletes: python-test%{?_isa} < %{version}-%{release} Provides: python-test = %{version}-%{release} Provides: python-test%{?_isa} = %{version}-%{release} Obsoletes: %{name}-test < %{version}-%{release} -Obsoletes: %{name}-test%{?_isa} < %{version}-%{release} Provides: %{name}-test = %{version}-%{release} Provides: %{name}-test%{?_isa} = %{version}-%{release} Requires: openEuler-rpm-config @@ -639,6 +632,9 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \ %{dynload_dir}/_testcapimodule_d.so %changelog +* Tue Jan 14 2020 openEuler Buildteam - 2.7.16-9 +- delete unneeded obsoletes with isa + * Wed Dec 25 2019 openEuler Buildteam - 2.7.16-8 - exclude private key; provide some file in python2-devel -- Gitee