diff --git a/python-IPy.spec b/python-IPy.spec index 6c4b83c..cb22b5f 100644 --- a/python-IPy.spec +++ b/python-IPy.spec @@ -2,11 +2,11 @@ Summary: Python module for handling IPv4 and IPv6 Addresses and Networks Name: python-%{oname} Version: 0.81 -Release: 26%{?dist} +Release: 27%{?dist} URL: https://github.com/haypo/python-ipy Source0: https://files.pythonhosted.org/packages/source/I/IPy/IPy-%{version}.tar.gz License: BSD -BuildRequires: python2-devel python3-devel +BuildRequires: python3-devel BuildArch: noarch %description @@ -18,19 +18,6 @@ and IPv6 Addresses and Networks. -%package -n python2-%{oname} -Summary: Python 2 module for handling IPv4 and IPv6 Addresses and Networks -%{?python_provide:%python_provide python2-%{oname}} - -%description -n python2-%{oname} -IPy is a Python 2 module for handling IPv4 and IPv6 Addresses and Networks -in a fashion similar to perl's Net::IP and friends. The IP class allows -a comfortable parsing and handling for most notations in use for IPv4 -and IPv6 Addresses and Networks. - - - - %package -n python3-%{oname} Summary: Python 3 module for handling IPv4 and IPv6 Addresses and Networks %{?python_provide:%python_provide python3-%{oname}} @@ -52,29 +39,18 @@ and IPv6 Addresses and Networks. %build -%py2_build %py3_build %check -PYTHONPATH=$PWD %{__python2} test/test_IPy.py -PYTHONPATH=$PWD %{__python2} test_doc.py - PYTHONPATH=$PWD %{__python3} test/test_IPy.py #PYTHONPATH=$PWD %{__python3} test_doc.py # FAILS %install -%py2_install %py3_install -%files -n python2-%{oname} -%license COPYING -%doc AUTHORS ChangeLog README -%{python2_sitelib}/%{oname}* - - %files -n python3-%{oname} %license COPYING %doc AUTHORS ChangeLog README @@ -83,6 +59,10 @@ PYTHONPATH=$PWD %{__python3} test/test_IPy.py %changelog +* Thu Aug 22 2019 Miro Hrončok - 0.81-27 +- Subpackage python2-IPy has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Mon Aug 19 2019 Miro Hrončok - 0.81-26 - Rebuilt for Python 3.8