[nodejs-pubcontrol] Restrict to compatible arches

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


commit cd1e29c37015b4c2a50990e87925e65e8572fa19
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 22:13:10 2013 +0100

    Restrict to compatible arches

 nodejs-pubcontrol.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-pubcontrol.spec b/nodejs-pubcontrol.spec
index 9ab292e..a9dffdd 100644
--- a/nodejs-pubcontrol.spec
+++ b/nodejs-pubcontrol.spec
@@ -2,15 +2,21 @@
 
 Name:       nodejs-pubcontrol
 Version:    0.3.2
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    HTTP Extensible Pubsub Control Protocol (EPCP) library for Node.js
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/fanout/nodepubcontrol
 Source0:    http://registry.npmjs.org/pubcontrol/-/pubcontrol-%{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}.
@@ -38,5 +44,8 @@ cp -pr package.json lib/ \
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.3.2-2
+- restrict to compatible arches
+
 * Sun Jun 02 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.3.2-1
 - initial package


More information about the scm-commits mailing list