[nodejs-paperboy] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 28 15:14:37 UTC 2013


commit 2bc9c9a88b43a91294be0c1f6ed418ab712f1346
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 16:14:18 2013 +0100

    Restrict to compatible arches

 nodejs-paperboy.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-paperboy.spec b/nodejs-paperboy.spec
index d7e0b0e..d282c6b 100644
--- a/nodejs-paperboy.spec
+++ b/nodejs-paperboy.spec
@@ -2,15 +2,21 @@
 
 Name:       nodejs-paperboy
 Version:    0.0.5
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    A node.js module for delivering static files
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/felixge/node-paperboy
 Source0:    http://registry.npmjs.org/paperboy/-/paperboy-%{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 index.js lib/ \
 
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.5-2
+- restrict to compatible arches
+
 * Sun Feb 17 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.5-1
 - initial package


More information about the scm-commits mailing list