Subpackage python2-netifaces has been removed

This commit is contained in:
Miro Hrončok 2019-10-31 17:08:37 +01:00
parent 2c2dc847f0
commit 71d5327ec5

View File

@ -2,29 +2,19 @@
Name: python-netifaces Name: python-netifaces
Version: 0.10.6 Version: 0.10.6
Release: 8%{?dist} Release: 9%{?dist}
Summary: Python library to retrieve information about network interfaces Summary: Python library to retrieve information about network interfaces
License: MIT License: MIT
URL: https://pypi.python.org/pypi/netifaces URL: https://pypi.python.org/pypi/netifaces
Source0: https://files.pythonhosted.org/packages/source/n/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/n/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%description %description
This package provides a cross platform API for getting address information This package provides a cross platform API for getting address information
from network interfaces. from network interfaces.
%package -n python2-%{pypi_name}
Summary: Python 2 library to retrieve information about network interfaces
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name}
This package provides a cross platform API for getting address information
from network interfaces.
%package -n python%{python3_pkgversion}-%{pypi_name} %package -n python%{python3_pkgversion}-%{pypi_name}
Summary: Python %{python3_pkgversion} library to retrieve information about network interfaces Summary: Python %{python3_pkgversion} library to retrieve information about network interfaces
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
@ -41,26 +31,23 @@ from network interfaces.
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%files -n python2-%{pypi_name}
%doc README.rst
%{python2_sitearch}/%{pypi_name}-%{version}-*.egg-info/
%{python2_sitearch}/%{pypi_name}.so
%files -n python%{python3_pkgversion}-%{pypi_name} %files -n python%{python3_pkgversion}-%{pypi_name}
%doc README.rst %doc README.rst
%{python3_sitearch}/%{pypi_name}-%{version}-*.egg-info/ %{python3_sitearch}/%{pypi_name}-%{version}-*.egg-info/
%{python3_sitearch}/%{pypi_name}*.so %{python3_sitearch}/%{pypi_name}*.so
%changelog %changelog
* Thu Oct 31 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.6-9
- Subpackage python2-netifaces has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.6-8 * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.6-8
- Rebuilt for Python 3.8 - Rebuilt for Python 3.8