From 1144c71c7db9605a6a63e086312738b0b7285771 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Apr 16 2013 20:04:22 +0000 Subject: Update to upstream release 1.9.0 --- diff --git a/.gitignore b/.gitignore index e7219e5..384d9d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /mocha-1.8.2.tgz /tests-1.8.1.tar.bz2 +/mocha-1.9.0.tgz +/tests-1.9.0.tar.bz2 diff --git a/dl-tests.sh b/dl-tests.sh old mode 100755 new mode 100744 index 05be1fe..9ffa1a8 --- a/dl-tests.sh +++ b/dl-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -tag=1.8.1 +tag=1.9.0 set -e diff --git a/mocha.spec b/mocha.spec index 560a0e3..467d686 100644 --- a/mocha.spec +++ b/mocha.spec @@ -3,8 +3,8 @@ %global enable_tests 0 Name: mocha -Version: 1.8.2 -Release: 3%{?dist} +Version: 1.9.0 +Release: 1%{?dist} Summary: A simple, flexible, fun test framework for Node.js License: MIT Group: System Environment/Libraries @@ -13,7 +13,7 @@ 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.8.1.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 @@ -62,7 +62,7 @@ rm -f lib/browser/diff.js %install mkdir -p %{buildroot}%{nodejs_sitelib}/mocha -cp -pr package.json index.js lib/ mocha.css _mocha.js mocha.js \ +cp -pr package.json index.js lib/ mocha.css mocha.js \ %{buildroot}%{nodejs_sitelib}/mocha rm -f %{buildroot}%{nodejs_sitelib}/mocha/lib/template.html @@ -102,7 +102,7 @@ ln -sf %{_datadir}/mocha/templates \ %if 0%{?enable_tests} %check -cp -pr %{nodejs_sitelib} . +ln -sf %{nodejs_sitelib} . ./bin/mocha --reporter dot test/acceptance/*.js test/*.js %endif @@ -116,6 +116,9 @@ cp -pr %{nodejs_sitelib} . %changelog +* Tue Apr 16 2013 Jamie Nguyen - 1.9.0-1 +- update to upstream release 1.9.0 + * Tue Mar 19 2013 Jamie Nguyen - 1.8.2-3 - fix incorrect %%changelog entries diff --git a/sources b/sources index a245f4e..9fcd9bf 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -e71777c6ff004f74b1528fa931f8ed4e mocha-1.8.2.tgz -6fd71e31003ca3bfa7ea0b20b3955f83 tests-1.8.1.tar.bz2 +e8d9c99cb9ff863af5bd0dd4ff06c866 mocha-1.9.0.tgz +71df4b40047fd34d529dce298bd937c1 tests-1.9.0.tar.bz2