[nodejs-sax] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 28 22:07:31 UTC 2013


commit 56c1ce6972eb64c12fc4dcb6625eca3881049257
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 23:07:14 2013 +0100

    Restrict to compatible arches

 nodejs-sax.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-sax.spec b/nodejs-sax.spec
index fd97ce3..c37dd9f 100644
--- a/nodejs-sax.spec
+++ b/nodejs-sax.spec
@@ -4,15 +4,21 @@
 
 Name:       nodejs-sax
 Version:    0.5.4
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    A streaming SAX-style XML parser in JavaScript for Node.js
 License:    BSD and W3C
 Group:      System Environment/Libraries
 URL:        https://github.com/isaacs/sax-js
 Source0:    http://registry.npmjs.org/sax/-/sax-%{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
 This is a SAX-style streaming XML parser in JavaScript for Node.js.
@@ -51,6 +57,9 @@ rm -f examples/switch-bench.js
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.5.4-2
+- restrict to compatible arches
+
 * Sat May 25 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.5.4-1
 - update to upstream release 0.5.4
 


More information about the scm-commits mailing list