[nodejs-mbtiles] Rebuild against nodejs-optimist 0.4.0

Tom Hughes tomh at fedoraproject.org
Tue Apr 16 11:25:55 UTC 2013


commit 7b5390c751fd63e3b01d7bf59d0dfb60186e7769
Author: Tom Hughes <tom at compton.nu>
Date:   Tue Apr 16 12:25:21 2013 +0100

    Rebuild against nodejs-optimist 0.4.0

 nodejs-mbtiles-optimist.patch |   19 +++++++++++++++++++
 nodejs-mbtiles.spec           |    7 ++++++-
 2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-mbtiles-optimist.patch b/nodejs-mbtiles-optimist.patch
new file mode 100644
index 0000000..c1d3c40
--- /dev/null
+++ b/nodejs-mbtiles-optimist.patch
@@ -0,0 +1,19 @@
+commit 6cbea33929dc0289a35795d5c19d764b3ab08572
+Author: Tom Hughes <tom at compton.nu>
+Date:   Tue Apr 16 12:18:32 2013 +0100
+
+    Update to use v0.4.x of optimist
+
+diff --git a/package.json b/package.json
+index 309ac96..cd5b724 100644
+--- a/package.json
++++ b/package.json
+@@ -37,7 +37,7 @@
+     "dependencies": {
+         "underscore": "~1.4.4",
+         "step": "~0.0.5",
+-        "optimist": "~0.3.1",
++        "optimist": "~0.4.0",
+         "sqlite3": "~2.1.1",
+         "sphericalmercator": "~1.0.1"
+     },
diff --git a/nodejs-mbtiles.spec b/nodejs-mbtiles.spec
index 54c0c2e..06908dd 100644
--- a/nodejs-mbtiles.spec
+++ b/nodejs-mbtiles.spec
@@ -2,7 +2,7 @@
 
 Name:           nodejs-mbtiles
 Version:        0.2.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Utilities and tilelive integration for the MBTiles format
 
 License:        BSD
@@ -14,6 +14,7 @@ Patch0:         nodejs-mbtiles-underscore.patch
 Patch1:         nodejs-mbtiles-unlink.patch
 # Offered upstream - https://github.com/mapbox/node-mbtiles/pull/27
 Patch2:         nodejs-mbtiles-manpages.patch
+Patch3:         nodejs-mbtiles-optimist.patch
 BuildArch:      noarch
 
 BuildRequires:  nodejs-devel
@@ -35,6 +36,7 @@ BuildRequires:  npm(underscore)
 %patch0 -p1 -b .underscore
 %patch1 -p1 -b .unlink
 %patch2 -p1 -b .manpages
+%patch3 -p1 -b .optimist
 rm -rf node_modules
 
 
@@ -75,6 +77,9 @@ ln -s %{nodejs_sitelib} .
 
 
 %changelog
+* Tue Apr 16 2013 Tom Hughes <tom at compton.nu> - 0.2.8-3
+- Rebuild against nodejs-optimist 0.4.0
+
 * Tue Mar 19 2013 Tom Hughes <tom at compton.nu> - 0.2.8-2
 - Avoid deleting schema.sql in %%install
 - Add manual pages


More information about the scm-commits mailing list