From ad013a5352da5fcb67985bdade6f88c7f0b82e09 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Oct 01 2018 19:47:25 +0000 Subject: Remove Python 2 subpackage. --- diff --git a/python-descartes.spec b/python-descartes.spec index 56d3263..8c78a4c 100644 --- a/python-descartes.spec +++ b/python-descartes.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.1.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Use geometric objects as Matplotlib paths and patches %global _description \ A Python module that allows using Shapely or GeoJSON-like geometric objects as \ @@ -17,24 +17,6 @@ BuildArch: noarch %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} - -BuildRequires: python2-devel -BuildRequires: python2-numpy -BuildRequires: python2-matplotlib -%if %{fedora} > 27 -BuildRequires: python2-shapely -%else -BuildRequires: python-shapely -%endif -Requires: python2-numpy -Requires: python2-matplotlib - -%description -n python2-%{srcname} %{_description} - - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -54,26 +36,17 @@ Requires: python3-matplotlib %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{srcname} -%doc README.txt -%{python2_sitelib}/%{srcname} -%{python2_sitelib}/%{srcname}-%{version}-py?.?.egg-info - - %files -n python3-%{srcname} %doc README.txt %{python3_sitelib}/%{srcname} @@ -81,6 +54,9 @@ Requires: python3-matplotlib %changelog +* Mon Oct 01 2018 Elliott Sales de Andrade 1.1.0-9 +- Drop Python 2 subpackage + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild