[mocha] Update to 1.11.0 and restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Thu Jun 27 15:09:33 UTC 2013


commit 84e988063c060f6334a0260275b6c309560925a8
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Thu Jun 27 16:09:07 2013 +0100

    Update to 1.11.0 and restrict to compatible arches

 .gitignore  |    2 ++
 dl-tests.sh |    2 +-
 mocha.spec  |   12 +++++++++---
 sources     |    4 ++--
 4 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4d11fee..a7b200d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
 /mocha-1.9.0.tgz
 /tests-1.9.0.tar.bz2
 /mocha-1.10.0.tgz
+/mocha-1.11.0.tgz
+/tests-1.11.0.tar.bz2
diff --git a/dl-tests.sh b/dl-tests.sh
old mode 100755
new mode 100644
index 3b0274a..f8deaf5
--- a/dl-tests.sh
+++ b/dl-tests.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-tag=1.9.0
+tag=1.11.0
 
 set -e
 
diff --git a/mocha.spec b/mocha.spec
index 08dc71d..38f85e9 100644
--- a/mocha.spec
+++ b/mocha.spec
@@ -3,8 +3,8 @@
 %global enable_tests 0
 
 Name:       mocha
-Version:    1.10.0
-Release:    2%{?dist}
+Version:    1.11.0
+Release:    1%{?dist}
 Summary:    A simple, flexible, fun test framework for Node.js
 License:    MIT
 Group:      System Environment/Libraries
@@ -13,12 +13,14 @@ Source0:    http://registry.npmjs.org/mocha/-/mocha-%{version}.tgz
 # The test files are not included in the npm tarball.
 # Source1 is generated by running Source10, which pulls from the upstream
 # version control repository.
-Source1:    tests-1.9.0.tar.bz2
+Source1:    tests-%{version}.tar.bz2
 # This is a custom manual page for mocha. Pull request sent upstream:
 # https://github.com/visionmedia/mocha/pull/758
 Source2:    mocha.1
 Source10:   dl-tests.sh
+
 BuildArch:  noarch
+ExclusiveArch: %{nodejs_arches} noarch
 
 # Dep generator bug which adds a trailing dot in the node(engine) requires.
 Patch0:     nodejs-mocha-1.8.1-node-dep.patch
@@ -117,6 +119,10 @@ ln -sf %{nodejs_sitelib} .
 
 
 %changelog
+* Thu Jun 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.11.0-1
+- update to upstream release 1.11.0
+- restrict to compatible arches
+
 * Sat Jun 22 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.10.0-2
 - rebuild for missing npm(mocha) Provides
 
diff --git a/sources b/sources
index f73e0a9..1534380 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-68416e27fe58036bac0307b76b30eadf  mocha-1.10.0.tgz
-71df4b40047fd34d529dce298bd937c1  tests-1.9.0.tar.bz2
+e212209bb3fbb8fd9f3504a81765bdc1  mocha-1.11.0.tgz
+ec6bbca131859452f14d40c4a0a81bf7  tests-1.11.0.tar.bz2


More information about the scm-commits mailing list