[nodejs-underscore] Update to upstream release 1.6.0

Jamie Nguyen jamielinux at fedoraproject.org
Fri Apr 18 21:07:25 UTC 2014


commit 160bed9037ad881fb4382824c7fec7e4487e5436
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Fri Apr 18 22:07:10 2014 +0100

    Update to upstream release 1.6.0

 .gitignore             |    2 ++
 dl-tests.sh            |    2 +-
 nodejs-underscore.spec |   22 ++++++++++++++++------
 sources                |    4 ++--
 4 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7a84f66..e8af80e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
 /underscore-1.4.4.tgz
 /tests-1.5.1.tar.bz2
 /underscore-1.5.1.tgz
+/tests-1.6.0.tar.bz2
+/underscore-1.6.0.tgz
diff --git a/dl-tests.sh b/dl-tests.sh
index 69de284..eda1a89 100644
--- a/dl-tests.sh
+++ b/dl-tests.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-tag=1.5.1
+tag=1.6.0
 
 set -e
 
diff --git a/nodejs-underscore.spec b/nodejs-underscore.spec
index 22da938..7685998 100644
--- a/nodejs-underscore.spec
+++ b/nodejs-underscore.spec
@@ -3,8 +3,8 @@
 %global enable_tests 0
 
 Name:       nodejs-underscore
-Version:    1.5.1
-Release:    2%{?dist}
+Version:    1.6.0
+Release:    1%{?dist}
 Summary:    JavaScript's functional programming helper library
 License:    MIT
 Group:      System Environment/Libraries
@@ -15,7 +15,13 @@ Source0:    http://registry.npmjs.org/underscore/-/underscore-%{version}.tgz
 # version control repository.
 Source1:    tests-%{version}.tar.bz2
 Source10:   dl-tests.sh
+
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 BuildRequires:  nodejs-packaging
 BuildRequires:  web-assets-devel
@@ -47,12 +53,13 @@ rm -f underscore-min.*
 
 
 %build
-uglifyjs underscore.js -m --source-map underscore-min.map -o underscore-min.js
+/usr/bin/uglifyjs underscore.js -m --source-map underscore-min.map \
+    -o underscore-min.js
 
 
 %install
 mkdir -p %{buildroot}%{nodejs_sitelib}/underscore
-cp -pr package.json index.js underscore.js underscore-min.js underscore-min.map \
+cp -pr package.json underscore.js underscore-min.js underscore-min.map \
     %{buildroot}%{nodejs_sitelib}/underscore
 
 #install browser version
@@ -73,14 +80,17 @@ cp -pr underscore.js underscore-min.js underscore-min.map \
 
 
 %files
-%doc CONTRIBUTING.md LICENSE README.md
+%doc LICENSE README.md
 %{nodejs_sitelib}/underscore
 
 %files -n js-underscore
-%doc CONTRIBUTING.md LICENSE README.md
+%doc LICENSE README.md
 %{_jsdir}/underscore
 
 %changelog
+* Fri Apr 18 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.6.0-1
+- update to upstream release 1.6.0
+
 * Sun Jan 19 2014 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.5.1-2
 - ship a browser version
 - add missing BuildRequires on uglify-js
diff --git a/sources b/sources
index b2cee61..65538f0 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-bb44857865aa035a67375b13381eedb3  tests-1.5.1.tar.bz2
-8c4cc09e37517dc6b387d3ca00c6b593  underscore-1.5.1.tgz
+d98b3849b5abd0e531b160173cb175b1  tests-1.6.0.tar.bz2
+563b1d9f13887d4bdcb6b06270a54825  underscore-1.6.0.tgz


More information about the scm-commits mailing list