[nodejs-range-parser] Restrict to compatible arches

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


commit a6895b7fdfc934e169a63e3294fccff755b599c7
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 22:25:08 2013 +0100

    Restrict to compatible arches

 nodejs-range-parser.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-range-parser.spec b/nodejs-range-parser.spec
index 73a5f3a..ae743b0 100644
--- a/nodejs-range-parser.spec
+++ b/nodejs-range-parser.spec
@@ -4,7 +4,7 @@
 
 Name:       nodejs-range-parser
 Version:    0.0.4
-Release:    4%{?dist}
+Release:    5%{?dist}
 Summary:    Range header field string parser for Node.js
 License:    MIT
 Group:      System Environment/Libraries
@@ -16,9 +16,15 @@ Source10:   test.range-parser.js
 # License added upstream:
 # https://github.com/visionmedia/node-range-parser/commit/d16617d0f2
 Source20:   Readme.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(mocha)
@@ -60,6 +66,9 @@ cp -pr package.json index.js \
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.4-5
+- restrict to compatible arches
+
 * Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.4-4
 - rebuild for missing npm(nodejs-range-parser) provides on EL6
 


More information about the scm-commits mailing list