diff --git a/python-pefile.spec b/python-pefile.spec index 9dab559..184507a 100644 --- a/python-pefile.spec +++ b/python-pefile.spec @@ -17,7 +17,7 @@ Some of the tasks that pefile makes possible are:\ Name: python-%{srcname} Version: 2017.11.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python module for working with Portable Executable files License: MIT URL: https://github.com/erocarrera/pefile @@ -25,8 +25,6 @@ URL: https://github.com/erocarrera/pefile Source0: https://github.com/erocarrera/pefile/archive/v%{version}/pefile-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -36,14 +34,6 @@ BuildRequires: python3-setuptools %description %{common_desc} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -Requires: python2-future - -%description -n python2-%{srcname} -%{common_desc} - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -58,28 +48,24 @@ Requires: python3-future sed -i -e '/^#!\//, 1d' pefile.py %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{srcname} -%license LICENSE -%doc README* -%{python2_sitelib}/* - %files -n python3-%{srcname} %license LICENSE %doc README* %{python3_sitelib}/* %changelog +* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 2017.11.5-5 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 2017.11.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild