diff --git a/.gitignore b/.gitignore index f0c6ee6..4981721 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /commander-1.1.1.tgz /tests-1.1.1.tar.bz2 +/commander-1.2.0.tgz +/tests-1.2.0.tar.bz2 diff --git a/dl-tests.sh b/dl-tests.sh old mode 100755 new mode 100644 index 5cf1503..2ad3834 --- a/dl-tests.sh +++ b/dl-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -tag=1.1.1 +tag=1.2.0 set -e diff --git a/nodejs-commander.spec b/nodejs-commander.spec index 0b31f58..3bde7de 100644 --- a/nodejs-commander.spec +++ b/nodejs-commander.spec @@ -3,8 +3,8 @@ %global enable_tests 0 Name: nodejs-commander -Version: 1.1.1 -Release: 2%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Node.js command-line interfaces made easy # License text is included in Readme.md License: MIT @@ -16,7 +16,9 @@ Source0: http://registry.npmjs.org/commander/-/commander-%{version}.tgz # version control repository. Source1: tests-%{version}.tar.bz2 Source10: dl-tests.sh + BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch # Dep generator bug which adds a trailing dot in the nodejs(engine) requires. Patch0: nodejs-commander-1.1.1-deps.patch @@ -53,8 +55,8 @@ cp -pr package.json index.js \ %if 0%{?enable_tests} %check -cp -pr %{nodejs_sitelib} . -make test +ln -sf %{nodejs_sitelib} . +find test/test.*.js -exec ./test/run '{}' \; %endif @@ -64,6 +66,10 @@ make test %changelog +* Fri Jul 05 2013 Jamie Nguyen - 1.2.0-1 +- restrict to compatible arches +- update to upstream release 1.2.0 + * Wed Jun 19 2013 T.C. Hollingsworth - 1.1.1-2 - rebuild for missing npm(commander) provides on EL6 diff --git a/sources b/sources index e9c1e78..6b41132 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -ad686cd400b6b15474d5fde7b4f419f2 commander-1.1.1.tgz -9d0fc02c546a8d159f46709d2bda3ccc tests-1.1.1.tar.bz2 +f34736c0dae8d789cbb7e03093d457ae commander-1.2.0.tgz +19216541c39807ed708a65607e4351d3 tests-1.2.0.tar.bz2