[nodejs-keypress] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sat Jul 27 20:34:25 UTC 2013


commit b0ced604f4a4b1bd289170b1c947c45d2eda290c
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Jul 27 21:34:07 2013 +0100

    Restrict to compatible arches

 nodejs-keypress.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-keypress.spec b/nodejs-keypress.spec
index d1c612c..1e663cf 100644
--- a/nodejs-keypress.spec
+++ b/nodejs-keypress.spec
@@ -5,16 +5,22 @@
 
 Name:       nodejs-keypress
 Version:    0.1.0
-Release:    3%{?dist}
+Release:    4%{?dist}
 Summary:    Make any Node ReadableStream emit "keypress" events
 # License text is included in README.md
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/TooTallNate/keypress
 Source0:    http://registry.npmjs.org/keypress/-/keypress-%{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
 
 %description
 Previous to Node v0.8.x, there was an undocumented "keypress" event that
@@ -57,6 +63,9 @@ cp -pr package.json index.js \
 
 
 %changelog
+* Sat Jul 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.0-4
+- restrict to compatible arches
+
 * Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.1.0-3
 - rebuild for missing npm(keypress) provides on EL6
 


More information about the scm-commits mailing list