diff --git a/nodejs-mapnik-gdal.patch b/nodejs-mapnik-gdal.patch new file mode 100644 index 0000000..983bd1d --- /dev/null +++ b/nodejs-mapnik-gdal.patch @@ -0,0 +1,19 @@ +commit 719a4f385cfe431a9d42c18943c3e87d0d4ac405 +Author: Tom Hughes +Date: Tue Jan 29 10:00:16 2019 +0000 + + Patch some test differences for gdal 2.3.x + +diff --git a/test/datasource.test.js b/test/datasource.test.js +index 710f1891..dd2f85df 100644 +--- a/test/datasource.test.js ++++ b/test/datasource.test.js +@@ -85,7 +85,7 @@ describe('mapnik.Datasource', function() { + LAT: 'Number' + }, + geometry_type: 'polygon', +- proj4:'+proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs' ++ proj4:'+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs' + }; + var actual = ds.describe(); + assert.equal(actual.proj4, expected.proj4); diff --git a/nodejs-mapnik.spec b/nodejs-mapnik.spec index 752953b..ab2de6a 100644 --- a/nodejs-mapnik.spec +++ b/nodejs-mapnik.spec @@ -4,7 +4,7 @@ Name: nodejs-mapnik Version: 3.7.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Bindings to Mapnik tile rendering library for Node.js License: BSD @@ -24,6 +24,8 @@ Patch4: nodejs-mapnik-boost.patch # https://github.com/mapnik/node-mapnik/commit/a8e9226a918eaaac0bf015274d638f3f3ebf68fb # https://github.com/mapnik/node-mapnik/pull/878 Patch5: nodejs-mapnik-node10.patch +# Patch some test differences for gdal 2.3.x +Patch6: nodejs-mapnik-gdal.patch ExclusiveArch: %{nodejs_arches} @@ -125,6 +127,9 @@ cat lib/binding/mapnik_settings.js %changelog +* Tue Jan 29 2019 Tom Hughes - 3.7.2-7 +- Rebuilt for Boost 1.69 + * Fri Jul 13 2018 Fedora Release Engineering - 3.7.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild