From 32cae2a429df263e22c22a166341907d2fccf8ec Mon Sep 17 00:00:00 2001 From: zhuchunyi Date: Wed, 6 Nov 2019 19:50:48 +0800 Subject: [PATCH] update code --- python2.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python2.spec b/python2.spec index 0a123ce..68ad730 100644 --- a/python2.spec +++ b/python2.spec @@ -9,7 +9,7 @@ %undefine _debuginfo_subpackages Name: python2 Version: 2.7.16 -Release: 2 +Release: 3 Summary: Python is an interpreted, interactive object-oriented programming language suitable License: Python URL: https://www.python.org/ @@ -109,6 +109,11 @@ 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} + %description devel This package contains libraries and header files used to build applications with and native libraries for Python2. @@ -292,6 +297,9 @@ chrpath -d $(find %{buildroot} -name pyexpat.so) %{_mandir}/man1/python*.1.* %changelog +* Tue Oct 15 2019 openEuler Buildteam - 2.7.16-3 +- Provides python2-test + * Wed Sep 26 2019 openEuler Buildteam - 2.7.16-2 - Package init