From 6932a21b4946b0bc26a01ec28ffb04428be50229 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Oct 12 2018 11:26:14 +0000 Subject: Python2 binary package has been removed --- diff --git a/python-rfc3987.spec b/python-rfc3987.spec index 10ee1fc..b45524a 100644 --- a/python-rfc3987.spec +++ b/python-rfc3987.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 1.3.7 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987) License: GPLv3+ @@ -19,15 +19,6 @@ relative resolution of references. %description %{_description} -%package -n python2-%{pypi_name} -Summary: Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987) -%{?python_provide:%python_provide python2-%{pypi_name}} - -BuildRequires: python2-setuptools -BuildRequires: python2-devel - -%description -n python2-%{pypi_name} %{_description} - %package -n python3-%{pypi_name} Summary: Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987) %{?python_provide:%python_provide python3-%{pypi_name}} @@ -45,33 +36,18 @@ This package includes the Python 3 version of the module. rm -rf %{pypi_name}.egg-info %build -%py2_build %py3_build %install -%py2_install %py3_install # Remove shebang -pushd %{buildroot}%{python2_sitelib} -sed -i -e '/^#!\//, 1d' rfc3987.py -popd - -pushd %{buildroot}%{python3_sitelib} -sed -i -e '/^#!\//, 1d' rfc3987.py -popd +sed -i -e '/^#!\//, 1d' %{buildroot}%{python3_sitelib}/rfc3987.py %check -%{__python2} -m doctest -v %{pypi_name}.py %{__python3} -m doctest -v %{pypi_name}.py -%files -n python2-%{pypi_name} -%license COPYING.txt -%doc README.txt -%{python2_sitelib}/%{pypi_name}.py* -%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info - %files -n python3-%{pypi_name} %license COPYING.txt %doc README.txt @@ -81,6 +57,10 @@ popd %changelog +* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 1.3.7-8 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 1.3.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild