diff --git a/python-rasterio.spec b/python-rasterio.spec index 10388cc..d1d9bd7 100644 --- a/python-rasterio.spec +++ b/python-rasterio.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast and direct raster I/O for use with Numpy and SciPy License: BSD @@ -23,37 +23,6 @@ based on ND arrays. %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} - -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-Cython -BuildRequires: python2-numpy -BuildRequires: python2-pytest -BuildRequires: python2-boto3 -BuildRequires: python2-hypothesis -BuildRequires: python2-packaging -BuildRequires: python2-enum34 -BuildRequires: python2-affine -BuildRequires: python2-attrs -BuildRequires: python2-click-plugins -BuildRequires: python2-cligj -BuildRequires: python2-numpy -BuildRequires: python2-snuggs >= 1.4.1 - -Requires: python2-enum34 -Requires: python2-affine -Requires: python2-attrs -Requires: python2-click-plugins -Requires: python2-cligj -Requires: python2-numpy -Requires: python2-snuggs >= 1.4.1 - -%description -n python2-%{srcname} %{_description} - - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -88,12 +57,10 @@ Requires: python3-snuggs >= 1.4.1 %build -%py2_build %py3_build %install -%py2_install %py3_install @@ -102,16 +69,8 @@ rm -r %{srcname} # Don't try unbuilt copy. PYTHONPATH="%{buildroot}%{python3_sitearch}" \ pytest-3 -v -m 'not network' -PYTHONPATH="%{buildroot}%{python2_sitearch}" \ - pytest-2 -v -m 'not network' -%files -n python2-%{srcname} -%doc README.rst AUTHORS.txt CHANGES.txt CITATION.txt -%license LICENSE.txt -%{python2_sitearch}/%{srcname} -%{python2_sitearch}/%{srcname}-%{version}-py?.?.egg-info - %files -n python3-%{srcname} %doc README.rst AUTHORS.txt CHANGES.txt CITATION.txt %license LICENSE.txt @@ -121,6 +80,9 @@ PYTHONPATH="%{buildroot}%{python2_sitearch}" \ %changelog +* Fri Sep 21 2018 Miro HronĨok +- Drop Python 2 subpackage + * Tue Jul 31 2018 Florian Weimer - 1.0.2-2 - Rebuild with fixed binutils