[nodejs-q] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 28 21:14:48 UTC 2013


commit b8086a2945e80c238ce0de6bb6c2fe42c939447d
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 22:14:32 2013 +0100

    Restrict to compatible arches

 nodejs-q.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-q.spec b/nodejs-q.spec
index ffa4c93..504fb62 100644
--- a/nodejs-q.spec
+++ b/nodejs-q.spec
@@ -4,7 +4,7 @@
 
 Name:       nodejs-q
 Version:    0.9.6
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    A tool for making and composing asynchronous promises in JavaScript
 # q.js appears to contain both MIT and ASL 2.0 licensed code
 License:    MIT and ASL 2.0
@@ -15,9 +15,15 @@ Source0:    http://registry.npmjs.org/q/-/q-%{version}.tgz
 # revision control repository.
 Source1:    tests-v%{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
 
-BuildRequires:  nodejs-devel
+BuildRequires:  nodejs-packaging
 
 %if 0%{?enable_tests}
 BuildRequires:  npm(jasmine-node)
@@ -67,6 +73,9 @@ cp -pr package.json q.js queue.js \
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.9.6-2
+- restrict to compatible arches
+
 * Fri Jun 21 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.9.6-1
 - update to upstream release 0.9.6
 - add %%check and related BR


More information about the scm-commits mailing list