diff --git a/nodejs-commander.spec b/nodejs-commander.spec index 3bde7de..0f07129 100644 --- a/nodejs-commander.spec +++ b/nodejs-commander.spec @@ -4,7 +4,7 @@ Name: nodejs-commander Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Node.js command-line interfaces made easy # License text is included in Readme.md License: MIT @@ -18,12 +18,16 @@ 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 # Dep generator bug which adds a trailing dot in the nodejs(engine) requires. Patch0: nodejs-commander-1.1.1-deps.patch -BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(keypress) @@ -55,7 +59,7 @@ cp -pr package.json index.js \ %if 0%{?enable_tests} %check -ln -sf %{nodejs_sitelib} . +%nodejs_symlink_deps --check find test/test.*.js -exec ./test/run '{}' \; %endif @@ -66,6 +70,9 @@ find test/test.*.js -exec ./test/run '{}' \; %changelog +* Sat Jul 06 2013 Jamie Nguyen - 1.2.0-2 +- fix compatible arches for f18/el6 + * Fri Jul 05 2013 Jamie Nguyen - 1.2.0-1 - restrict to compatible arches - update to upstream release 1.2.0