[nodejs-q-io] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 28 21:16:04 UTC 2013


commit f014e63e8800592b390282135cb9b62a209cc3b5
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 22:15:45 2013 +0100

    Restrict to compatible arches

 nodejs-q-io.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-q-io.spec b/nodejs-q-io.spec
index b9952b6..791a091 100644
--- a/nodejs-q-io.spec
+++ b/nodejs-q-io.spec
@@ -4,15 +4,21 @@
 
 Name:       nodejs-q-io
 Version:    1.9.1
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Interfaces for IO using Q promises in JavaScript on Node.js
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/kriskowal/q-io
 Source0:    http://registry.npmjs.org/q-io/-/q-io-%{version}.tgz
+
 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(q)
@@ -57,6 +63,9 @@ cp -pr package.json \
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.9.1-2
+- restrict to compatible arches
+
 * Thu Jun 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.9.1-1
 - update to upstream release 1.9.1
 


More information about the scm-commits mailing list