From 4dc2f90bc1f4e8e9be6118dbf9ac7b17c279cd10 Mon Sep 17 00:00:00 2001 From: songnannan Date: Wed, 15 Jan 2020 02:24:24 +0800 Subject: [PATCH] deletethepythonprovidesinpython2 --- python-IPy.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-IPy.spec b/python-IPy.spec index 5cbcac6..fbc0152 100644 --- a/python-IPy.spec +++ b/python-IPy.spec @@ -1,6 +1,6 @@ Name: python-IPy Version: 0.81 -Release: 25 +Release: 26 Summary: Class and Tools for Handling of IPv4 and IPv6 Addresses and Networks License: BSD URL: https://github.com/autocracy/python-ipy @@ -28,7 +28,8 @@ netmask of 0xffffff0f can't be done here. %if 0%{?with_python2} %package -n python2-IPy Summary: Python2 package for python-IPy -%{?python_provide: %python_provide python2-IPy} +Provides: python-IPy = %{version}-%{release} +Obsoletes: python-IPy < %{version}-%{release} %description -n python2-IPy Python2 package for python-IPy @@ -94,6 +95,12 @@ PYTHONPATH=$PWD %{__python3} test/test_IPy.py %endif %changelog +* Tue Jan 14 2020 openEuler Buildteam - 0.81-26 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:delete the python provides in python2 + * Thu Oct 10 2019 openEuler Buildteam - 0.81-25 - Type:bugfix - Id:NA