[nodejs-formidable] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 21 20:05:05 UTC 2013


commit 46155dfbd2cd125d2cd4e3161b42ce72cff94c22
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 21 21:04:43 2013 +0100

    Restrict to compatible arches

 nodejs-formidable.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-formidable.spec b/nodejs-formidable.spec
index 372c46b..8b30acc 100644
--- a/nodejs-formidable.spec
+++ b/nodejs-formidable.spec
@@ -4,15 +4,21 @@
 
 Name:       nodejs-formidable
 Version:    1.0.14
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    A Node.js module for parsing form data, especially file uploads
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/felixge/node-formidable
 Source0:    http://registry.npmjs.org/formidable/-/formidable-%{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
 
 %if 0%{?enable_tests}
 BuildRequires:  npm(findit)
@@ -64,6 +70,9 @@ cp -pr package.json index.js lib/ tool/ \
 
 
 %changelog
+* Sun Jul 21 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.0.14-2
+- restrict to compatible arches
+
 * Sat May 25 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.0.14-1
 - update to upstream release 1.0.14
 - patch for node version now fixed upstream


More information about the scm-commits mailing list