[nodejs-mapnik] Update to 1.4.0 upstream release
Tom Hughes
tomh at fedoraproject.org
Sun Mar 2 16:04:15 UTC 2014
commit 1c51fd0075cac125f6a2645b051a749eb4b34c4c
Author: Tom Hughes <tom at compton.nu>
Date: Sun Mar 2 15:09:55 2014 +0000
Update to 1.4.0 upstream release
.gitignore | 2 ++
nodejs-mapnik.spec | 15 +++++++++++----
sources | 2 +-
3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0a4be89..897f673 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@
/mapnik-1.3.1.tgz
/mapnik-1.3.2.tgz
/mapnik-1.3.4.tgz
+/mapnik-1.4.0.tgz
+/nodejs-mapnik-1.4.0-9ca8720.tar.gz
diff --git a/nodejs-mapnik.spec b/nodejs-mapnik.spec
index 4e207a8..8fce567 100644
--- a/nodejs-mapnik.spec
+++ b/nodejs-mapnik.spec
@@ -1,11 +1,14 @@
+%global commit 9ca8720fb33f7eb5f34afaa01e8cd55600c82502
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: nodejs-mapnik
-Version: 1.3.4
+Version: 1.4.0
Release: 1%{?dist}
Summary: Bindings to Mapnik tile rendering library for Node.js
License: BSD
URL: https://github.com/mapnik/node-mapnik
-Source0: http://registry.npmjs.org/mapnik/-/mapnik-%{version}.tgz
+Source0: https://github.com/mapnik/node-mapnik/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
# Reported upstream - https://github.com/mapnik/node-mapnik/issues/163
Patch0: nodejs-mapnik-color.patch
# Correct system font paths
@@ -40,7 +43,7 @@ BuildRequires: npm(sphericalmercator)
%prep
-%setup -q -n package
+%setup -q -n node-mapnik-%{commit}
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -70,12 +73,16 @@ ln -s %{nodejs_sitelib}/mapnik/bin/mapnik-render.js %{buildroot}/%{_bindir}/map
%files
-%doc LICENSE.txt README.md CHANGELOG.md docs
+%doc LICENSE.txt README.md CHANGELOG.md
%{nodejs_sitearch}/mapnik
%{_bindir}/mapnik-*
%changelog
+* Sun Mar 2 2014 Tom Hughes <tom at compton.nu> - 1.4.0-1
+- Update to 1.4.0 upstream release
+- Switch to source from github as npm no longer includes tests
+
* Fri Feb 28 2014 Tom Hughes <tom at compton.nu> - 1.3.4-1
- Update to 1.3.4 upstream release
diff --git a/sources b/sources
index 37dede4..3b9ef72 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ffd93ec05c0519f2789379e6efd365a8 mapnik-1.3.4.tgz
+313ec19987b7fdc336bb717de0f7f23d nodejs-mapnik-1.4.0-9ca8720.tar.gz
More information about the scm-commits
mailing list