From 857127bf3a165bdb7b67a996ac7f04e7d941f457 Mon Sep 17 00:00:00 2001 From: songnannan Date: Wed, 15 Jan 2020 02:56:48 +0800 Subject: [PATCH] delete the python provides in python2 --- python-idna.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-idna.spec b/python-idna.spec index 69cdb38..80d095d 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -1,6 +1,6 @@ Name: python-idna Version: 2.8 -Release: 1 +Release: 2 Summary: Internationalized Domain Names in Applications (IDNA) License: BSD and Python and Unicode URL: https://github.com/kjd/idna @@ -28,7 +28,8 @@ library but currently only supports the older 2003 specification. %if 0%{?with_python2} %package -n python2-idna Summary: Python2 package for python-idna -%{?python_provide: %python_provide python2-idna} +Provides: python-idna = %{version}-%{release} +Obsoletes: python-idna < %{version}-%{release} %description -n python2-idna Python2 package for python-idna @@ -93,5 +94,11 @@ Python3 package for python-idna %endif %changelog +* Tue Jan 14 2020 openEuler Buildteam - 2.8-2 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:delete the python provides in python2 + * Wed Sep 4 2019 openEuler Buildteam - 2.8-1 - Package init