[nodejs-tilelive] Update to 4.5.0 upstream release

Tom Hughes tomh at fedoraproject.org
Mon Jul 15 19:52:39 UTC 2013


commit d7200f830b1380529eda93d35963bd51fe848c5b
Author: Tom Hughes <tom at compton.nu>
Date:   Mon Jul 15 17:55:09 2013 +0100

    Update to 4.5.0 upstream release

 .gitignore                       |    1 +
 nodejs-tilelive-optimist.patch   |   10 +++++-----
 nodejs-tilelive-underscore.patch |   19 -------------------
 nodejs-tilelive.spec             |   18 ++++++++++--------
 sources                          |    2 +-
 5 files changed, 17 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ace7e49..c610d33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tilelive-4.4.3.tgz
+/tilelive-4.5.0.tgz
diff --git a/nodejs-tilelive-optimist.patch b/nodejs-tilelive-optimist.patch
index 8de3e31..4f5a510 100644
--- a/nodejs-tilelive-optimist.patch
+++ b/nodejs-tilelive-optimist.patch
@@ -1,11 +1,11 @@
-commit 07f3a4854d4a5cda64003c454389d358bab21b26
+commit 16e113216c26b8c191f3205682136e11a080ea31
 Author: Tom Hughes <tom at compton.nu>
 Date:   Sun May 26 19:19:53 2013 +0100
 
     Update to use v0.4.x of optimist
 
 diff --git a/package.json b/package.json
-index 36ac95e..c8722fb 100644
+index d68316e..e610ed4 100644
 --- a/package.json
 +++ b/package.json
 @@ -25,7 +25,7 @@
@@ -14,6 +14,6 @@ index 36ac95e..c8722fb 100644
      "dependencies": {
 -        "optimist": "~0.3.1",
 +        "optimist": "~0.4.0",
-         "step": "~0.0.5",
-         "sphericalmercator": "~1.0.1",
-         "underscore": "~1.4.4"
+         "sphericalmercator": "~1.0.1"
+     },
+     "devDependencies": {
diff --git a/nodejs-tilelive.spec b/nodejs-tilelive.spec
index 1b6e5a0..ba18dbd 100644
--- a/nodejs-tilelive.spec
+++ b/nodejs-tilelive.spec
@@ -1,20 +1,19 @@
 %global enable_tests 1
 
 Name:           nodejs-tilelive
-Version:        4.4.3
-Release:        3%{?dist}
+Version:        4.5.0
+Release:        1%{?dist}
 Summary:        Frontend for various tile backends, mapnik and mbtiles
 
 License:        BSD
 URL:            https://github.com/mapbox/tilelive.js
 Source0:        http://registry.npmjs.org/tilelive/-/tilelive-%{version}.tgz
-# Accepted upstream - https://github.com/mapbox/tilelive.js/pull/57
-Patch0:         nodejs-tilelive-underscore.patch
 # Offered upstream - https://github.com/mapbox/tilelive.js/pull/58
-Patch1:         nodejs-tilelive-optimist.patch
+Patch0:         nodejs-tilelive-optimist.patch
 BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
 
-BuildRequires:  nodejs-devel
+BuildRequires:  nodejs-packaging
 
 %if 0%{?enable_tests}
 BuildRequires:  npm(mbtiles)
@@ -32,8 +31,7 @@ an API to interact with implementations for a particular tile store.
 
 %prep
 %setup -q -n package
-%patch0 -p1 -b .underscore
-%patch1 -p1 -b .optimist
+%patch0 -p1 -b .optimist
 rm -rf node_modules
 
 
@@ -62,6 +60,10 @@ ln -sf %{nodejs_sitelib}/tilelive/bin/copy %{buildroot}/%{_bindir}/tilelive-copy
 
 
 %changelog
+* Mon Jul 15 2013 Tom Hughes <tom at compton.nu> - 4.5.0-1
+- Update to 4.5.0 upstream release
+- Update to latest nodejs packaging standards
+
 * Wed May 29 2013 Tom Hughes <tom at compton.nu> - 4.4.3-3
 - Apply optimist patch
 
diff --git a/sources b/sources
index b8d7ee9..acd39f2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c91ba59c4627c6fbf51c1285fcb5c758  tilelive-4.4.3.tgz
+ebffd72d1544825e518d2be6816f235e  tilelive-4.5.0.tgz


More information about the scm-commits mailing list