diff --git a/python-imagesize.spec b/python-imagesize.spec index ca63036..9359ef6 100644 --- a/python-imagesize.spec +++ b/python-imagesize.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{sum} License: MIT @@ -12,10 +12,6 @@ URL: https://github.com/shibukawa/imagesize_py Source0: https://files.pythonhosted.org/packages/source/i/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-setuptools -BuildRequires: python2-devel -BuildRequires: python2-pytest - BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: python3-pytest @@ -30,20 +26,6 @@ The imagesize package parses image file headers and returns the image sizes. This is a pure Python library. -%package -n python2-%{pypi_name} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -The imagesize package parses image file headers and returns the image sizes. - -* PNG -* JPEG -* JPEG2000 -* GIF - -This is a pure Python library. - %package -n python3-%{pypi_name} Summary: %{sum} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -64,28 +46,24 @@ This is a pure Python library. rm -rf %{pypi_name}.egg-info %build -%py2_build %py3_build %install %py3_install -%py2_install %check -py.test-2 py.test-3 -%files -n python2-%{pypi_name} -%doc README.rst -%license LICENSE.rst -%{python2_sitelib}/* - %files -n python3-%{pypi_name} %doc README.rst %license LICENSE.rst %{python3_sitelib}/* %changelog +* Wed Mar 20 2019 Miro HronĨok - 1.0.0-5 +- Subpackage python2-imagesize has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Feb 02 2019 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild