From ba1d88d5e87943aba812415931d72b2346e107ab Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Dec 09 2017 06:39:13 +0000 Subject: Fix python2-* BR on old Fedora. --- diff --git a/python-descartes.spec b/python-descartes.spec index 727379e..f65697f 100644 --- a/python-descartes.spec +++ b/python-descartes.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.1.0 -Release: 4%{?dist} +Release: 5%{?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 \ @@ -24,7 +24,11 @@ Summary: %{summary} 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 @@ -77,6 +81,9 @@ Requires: python3-matplotlib %changelog +* Sat Dec 09 2017 Elliott Sales de Andrade 1.1.0-5 +- Fix python2-* BR on old Fedora. + * Fri Dec 08 2017 Elliott Sales de Andrade 1.1.0-4 - Use python2-* BR.