[nodejs-chai] Update to 1.9.0 upstream release

Tom Hughes tomh at fedoraproject.org
Mon Feb 24 15:42:36 UTC 2014


commit 67e0e906166ae8970a5089d529eb6f5148da882c
Author: Tom Hughes <tom at compton.nu>
Date:   Fri Jan 31 14:12:13 2014 +0000

    Update to 1.9.0 upstream release

 .gitignore       |    2 ++
 chai-dl-tests.sh |    2 +-
 nodejs-chai.spec |   12 +++++-------
 sources          |    4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d27261e..9fd64a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 /chai-1.7.2.tgz
 /chai-tests-1.7.2.tar.bz2
+/chai-1.9.0.tgz
+/chai-tests-1.9.0.tar.bz2
diff --git a/chai-dl-tests.sh b/chai-dl-tests.sh
index 9daf49a..426b1ff 100755
--- a/chai-dl-tests.sh
+++ b/chai-dl-tests.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-tag=1.7.2
+tag=1.9.0
 
 set -e
 
diff --git a/nodejs-chai.spec b/nodejs-chai.spec
index f44d08f..486b698 100644
--- a/nodejs-chai.spec
+++ b/nodejs-chai.spec
@@ -1,7 +1,5 @@
-%global enable_tests 1
-
 Name:           nodejs-chai
-Version:        1.7.2
+Version:        1.9.0
 Release:        1%{?dist}
 Summary:        BDD/TDD assertion library for Node.js and the browser
 
@@ -18,10 +16,9 @@ ExclusiveArch:  %{nodejs_arches} noarch
 
 BuildRequires:  nodejs-packaging
 
-%if 0%{?enable_tests}
 BuildRequires:  npm(mocha)
 BuildRequires:  npm(assertion-error)
-%endif
+BuildRequires:  npm(deep-eql)
 
 %description
 Chai is a BDD / TDD assertion library for node and the browser that
@@ -43,11 +40,9 @@ cp -r package.json index.js chai.js lib %{buildroot}/%{nodejs_sitelib}/chai
 %nodejs_symlink_deps
 
 
-%if 0%{?enable_tests}
 %check
 %nodejs_symlink_deps --check
 %{nodejs_sitelib}/mocha/bin/mocha --require ./test/bootstrap --reporter dot --ui tdd test/*.js
-%endif
 
 
 %files
@@ -56,5 +51,8 @@ cp -r package.json index.js chai.js lib %{buildroot}/%{nodejs_sitelib}/chai
 
 
 %changelog
+* Fri Jan 31 2014 Tom Hughes <tom at compton.nu> - 1.9.0-1
+- Update to 1.9.0 upstream release
+
 * Sat Aug 17 2013 Tom Hughes <tom at compton.nu> - 1.7.2-1
 - Initial build of 1.7.2
diff --git a/sources b/sources
index 681d931..35df7e4 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-35f357704cdd5475c83e2171318ad29e  chai-1.7.2.tgz
-c18aa659528c6b5a8266c712b389f4e1  chai-tests-1.7.2.tar.bz2
+8d16eef764cccf011ad3997594c0c935  chai-1.9.0.tgz
+7bf5a9858cce5303fde8799639523aa0  chai-tests-1.9.0.tar.bz2


More information about the scm-commits mailing list