[nodejs-qs] Add ExclusiveArch logic
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 28 21:20:36 UTC 2013
commit 7513212b914dbc5f27b07a49436c34b089d9f7e8
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 28 22:19:13 2013 +0100
Add ExclusiveArch logic
nodejs-qs.spec | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-qs.spec b/nodejs-qs.spec
index 8f410fe..73db483 100644
--- a/nodejs-qs.spec
+++ b/nodejs-qs.spec
@@ -4,7 +4,7 @@
Name: nodejs-qs
Version: 0.6.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Query string parser for Node.js
# License text is included in Readme.md
License: MIT
@@ -16,10 +16,15 @@ Source0: http://registry.npmjs.org/qs/-/qs-%{version}.tgz
# version control repository.
Source1: tests-%{version}.tar.bz2
Source10: dl-tests.sh
+
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(expect.js)
@@ -55,7 +60,7 @@ cp -pr package.json index.js \
%if 0%{?enable_tests}
%check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
%{nodejs_sitelib}/mocha/bin/mocha --ui bdd
%endif
@@ -66,6 +71,9 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.6.5-3
+- add ExclusiveArch logic
+
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.6.5-2
- restrict to compatible arches
More information about the scm-commits
mailing list