diff --git a/nodejs-watchit.spec b/nodejs-watchit.spec index cc250fc..7802fdf 100644 --- a/nodejs-watchit.spec +++ b/nodejs-watchit.spec @@ -1,10 +1,10 @@ %{?nodejs_find_provides_and_requires} -%global enable_tests 0 +%global enable_tests 1 Name: nodejs-watchit Version: 0.0.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A sensible wrapper around fs.watch for Node.js # Upstream have been informed about missing LICENSE: # https://github.com/TrevorBurnham/Watchit/issues/6 @@ -13,9 +13,15 @@ Group: System Environment/Libraries URL: https://github.com/TrevorBurnham/Watchit Source0: http://registry.npmjs.org/watchit/-/watchit-%{version}.tgz Source1: LICENSE + +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif BuildArch: noarch -BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging BuildRequires: npm(docco) # Currently to compile the .coffee files, watchit depends on itself, @@ -49,7 +55,7 @@ cp -pr package.json lib/ \ %if 0%{?enable_tests} %check -ln -sf %{nodejs_sitelib} . +%nodejs_symlink_deps --check # Broken test which upstream haven't fixed: # https://github.com/TrevorBurnham/Watchit/issues/5 rm -f test/include.coffee @@ -64,6 +70,9 @@ rm -f test/include.coffee %changelog +* Tue Aug 20 2013 Jamie Nguyen - 0.0.4-6 +- restrict to compatible arches + * Sat Aug 03 2013 Fedora Release Engineering - 0.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild