delete the python provides in python2

This commit is contained in:
songnannan 2020-01-15 02:56:48 +08:00
parent ad55b2594e
commit 857127bf3a

View File

@ -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 <buildteam@openeuler.org> - 2.8-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:delete the python provides in python2
* Wed Sep 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.8-1
- Package init