[nodejs-source-map] Update to 0.1.27 and restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Tue Jul 30 14:51:07 UTC 2013
commit 2d75cd141ab9b3d5d71500891373f88f15cfa5d6
Author: Jamie Nguyen <j at jamielinux.com>
Date: Tue Jul 30 15:50:27 2013 +0100
Update to 0.1.27 and restrict to compatible arches
.gitignore | 1 +
nodejs-source-map.spec | 20 +++++++++++++-------
sources | 3 +--
3 files changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d572131..a5a0a74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/source-map-0.1.8.tgz
/source-map-0.1.22.tgz
+/source-map-0.1.27.tgz
diff --git a/nodejs-source-map.spec b/nodejs-source-map.spec
index 1614135..43a123d 100644
--- a/nodejs-source-map.spec
+++ b/nodejs-source-map.spec
@@ -5,10 +5,16 @@
%global bootstrap 1
Name: nodejs-source-map
-Version: 0.1.22
+Version: 0.1.27
Release: 1%{?dist}
Summary: Node.js library that generates and consumes source maps
+
BuildArch: noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
Group: System Environment/Libraries
License: BSD
@@ -16,7 +22,7 @@ URL: https://github.com/mozilla/source-map
Source0: http://registry.npmjs.org/source-map/-/source-map-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: nodejs-devel
+BuildRequires: nodejs-packaging
BuildRequires: npm(amdefine)
%if !0%{?bootstrap}
@@ -63,11 +69,7 @@ cp -p dist/*.js %{buildroot}%{_datadir}/%{name}/
%nodejs_symlink_deps
%check
-#FIXME: nodejs-symlink-deps will soon learn a --check argument so we don't
-# have to do this manually
-mkdir -p node_modules
-ln -sf %{nodejs_sitelib}/amdefine node_modules/amdefine
-
+%nodejs_symlink_deps --check
%__nodejs test/run-tests.js
%clean
@@ -86,6 +88,10 @@ rm -rf %buildroot
%endif
%changelog
+* Tue Jul 30 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.27-1
+- update to upstream release 0.1.27
+- restrict to compatible arches
+
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.1.22-1
- new upstream release 0.1.22
diff --git a/sources b/sources
index c0ed2df..395a341 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-591ae72922cf609d817a240c19236654 source-map-0.1.8.tgz
-b616d3449552fff4a4df204461c3cf2b source-map-0.1.22.tgz
+582ecbe2e6a5ed025e97a7267269d8bc source-map-0.1.27.tgz
More information about the scm-commits
mailing list