[nodejs-pause] Restrict to compatible arches

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


commit e96e0f5a9647478a4d02426655c3a7ad5fb5de66
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 22:07:48 2013 +0100

    Restrict to compatible arches

 nodejs-pause.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-pause.spec b/nodejs-pause.spec
index 262be37..5ce92c2 100644
--- a/nodejs-pause.spec
+++ b/nodejs-pause.spec
@@ -2,16 +2,22 @@
 
 Name:       nodejs-pause
 Version:    0.0.1
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    Node.js module to pause streams
 # License text is included in Readme.md
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/visionmedia/node-pause
 Source0:    http://registry.npmjs.org/pause/-/pause-%{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
 %{summary}.
@@ -39,6 +45,9 @@ cp -pr package.json index.js \
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.1-3
+- restrict to compatible arches
+
 * Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.1-2
 - rebuild for missing npm(pause) provides
 


More information about the scm-commits mailing list