deletethepythonprovidesinpython2

This commit is contained in:
songnannan 2020-01-15 02:24:24 +08:00
parent 62489b1015
commit 4dc2f90bc1

View File

@ -1,6 +1,6 @@
Name: python-IPy Name: python-IPy
Version: 0.81 Version: 0.81
Release: 25 Release: 26
Summary: Class and Tools for Handling of IPv4 and IPv6 Addresses and Networks Summary: Class and Tools for Handling of IPv4 and IPv6 Addresses and Networks
License: BSD License: BSD
URL: https://github.com/autocracy/python-ipy URL: https://github.com/autocracy/python-ipy
@ -28,7 +28,8 @@ netmask of 0xffffff0f can't be done here.
%if 0%{?with_python2} %if 0%{?with_python2}
%package -n python2-IPy %package -n python2-IPy
Summary: Python2 package for python-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 %description -n python2-IPy
Python2 package for python-IPy Python2 package for python-IPy
@ -94,6 +95,12 @@ PYTHONPATH=$PWD %{__python3} test/test_IPy.py
%endif %endif
%changelog %changelog
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.81-26
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:delete the python provides in python2
* Thu Oct 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.81-25 * Thu Oct 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.81-25
- Type:bugfix - Type:bugfix
- Id:NA - Id:NA