[nodejs-collections] Fix compatible arches for f18/el6
Jamie Nguyen
jamielinux at fedoraproject.org
Sat Jul 6 07:00:15 UTC 2013
commit 676a494a7b87a61338e85e847509abeacc75b4f6
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat Jul 6 07:59:35 2013 +0100
Fix compatible arches for f18/el6
nodejs-collections.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-collections.spec b/nodejs-collections.spec
index e0882b4..fa67b9a 100644
--- a/nodejs-collections.spec
+++ b/nodejs-collections.spec
@@ -4,7 +4,7 @@
Name: nodejs-collections
Version: 0.1.21
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Data structures with idiomatic JavaScript collection interfaces
# shim-array.js and shim-object.js are forked from Motorola Mobility's Montage,
# which is licensed under the 3-Clause BSD License.
@@ -21,9 +21,13 @@ Source10: dl-tests.sh
Source20: LICENSE-montage.md
BuildArch: noarch
+%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
-BuildRequires: nodejs-devel
+BuildRequires: nodejs-packaging
%if 0%{?enable_tests}
BuildRequires: npm(jasmine-node)
@@ -54,7 +58,7 @@ cp -pr package.json *.js listen/ \
%if 0%{?enable_tests}
%check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
%{nodejs_sitelib}/jasmine-node/bin/jasmine-node spec
%endif
@@ -65,6 +69,9 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Sat Jul 06 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.21-2
+- fix compatible arches for f18/el6
+
* Fri Jul 05 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.21-1
- update to upstream release 0.2.21
More information about the scm-commits
mailing list