From 5a2f3d22d23d469cb45c5f91c34b7d164733f5d8 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Nov 06 2018 01:48:55 +0000 Subject: Drop cligj patch. --- diff --git a/0001-Allow-older-cligj.patch b/0001-Allow-older-cligj.patch deleted file mode 100644 index 2d9e77c..0000000 --- a/0001-Allow-older-cligj.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e1dc43a9bf763f65ccba94e3a92dd723d17eec23 Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Mon, 5 Nov 2018 16:53:49 -0500 -Subject: [PATCH] Allow older cligj. - -Signed-off-by: Elliott Sales de Andrade ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index beb4296a..30b4e4a5 100755 ---- a/setup.py -+++ b/setup.py -@@ -332,7 +332,7 @@ with open('README.rst') as f: - - # Runtime requirements. - inst_reqs = [ -- 'affine', 'attrs', 'click>=4.0,<8', 'cligj>=0.5', 'numpy', 'snuggs>=1.4.1', 'click-plugins'] -+ 'affine', 'attrs', 'click>=4.0,<8', 'cligj>=0.4', 'numpy', 'snuggs>=1.4.1', 'click-plugins'] - - if sys.version_info < (3, 4): - inst_reqs.append('enum34') --- -2.17.1 - diff --git a/python-rasterio.spec b/python-rasterio.spec index 70ec4df..1b8e394 100644 --- a/python-rasterio.spec +++ b/python-rasterio.spec @@ -9,7 +9,6 @@ License: BSD URL: https://github.com/mapbox/rasterio # PyPI tarball doesn't include test data. Source0: https://github.com/mapbox/rasterio/archive/%{version}/%{srcname}-%{version}.tar.gz -Patch0001: 0001-Allow-older-cligj.patch BuildRequires: gcc-c++ BuildRequires: gdal >= 1.11 @@ -39,14 +38,14 @@ BuildRequires: python3-packaging BuildRequires: python3-attrs BuildRequires: python3-affine BuildRequires: python3-click-plugins -BuildRequires: python3-cligj >= 0.4 +BuildRequires: python3-cligj >= 0.5 BuildRequires: python3-numpy BuildRequires: python3-snuggs >= 1.4.1 Requires: python3-affine Requires: python3-attrs Requires: python3-click-plugins -Requires: python3-cligj >= 0.4 +Requires: python3-cligj >= 0.5 Requires: python3-numpy Requires: python3-snuggs >= 1.4.1