diff --git a/python-port-for.spec b/python-port-for.spec index b48454b..6ed67a3 100644 --- a/python-port-for.spec +++ b/python-port-for.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 0.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: %{sum} License: MIT @@ -12,18 +12,11 @@ URL: https://pypi.python.org/pypi/%{pypi_name} Source0: https://pypi.python.org/packages/cd/68/57f6d5cae15125acc0f3e2a5117de5e2d83f4e96c4d97e088122557b3d70/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python3-devel +BuildRequires: python3-devel %description It can find an unused TCP local host port and remember the association. -%package -n python2-%{pypi_name} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -It can find an unused TCP local host port and remember the association. - %package -n python3-%{pypi_name} Summary: %{sum} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -35,20 +28,11 @@ It can find an unused TCP local host port and remember the association. %autosetup -n %{pypi_name}-%{version} %build -%py2_build %py3_build %install %py3_install mv %{buildroot}%{_bindir}/%{pypi_name} %{buildroot}%{_bindir}/%{pypi_name}-3 -%py2_install - -%files -n python2-%{pypi_name} -%doc README.rst -%license LICENSE.txt -%{python2_sitelib}/%{name_with_underscore} -%{python2_sitelib}/%{name_with_underscore}-%{version}-py?.?.egg-info -%{_bindir}/%{pypi_name} %files -n python3-%{pypi_name} %doc README.rst @@ -58,6 +42,10 @@ mv %{buildroot}%{_bindir}/%{pypi_name} %{buildroot}%{_bindir}/%{pypi_name}-3 %{_bindir}/%{pypi_name}-3 %changelog +* Mon Feb 25 2019 Miro HronĨok - 0.4-8 +- Subpackage python2-port-for has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Feb 02 2019 Fedora Release Engineering - 0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild