[nodejs-i] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 21 20:19:09 UTC 2013
commit 6c6502418687f2b0738e4b8035aa7751219eaa3a
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 21 21:16:55 2013 +0100
Restrict to compatible arches
nodejs-i.spec | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-i.spec b/nodejs-i.spec
index 305ec27..5166d2a 100644
--- a/nodejs-i.spec
+++ b/nodejs-i.spec
@@ -4,15 +4,21 @@
Name: nodejs-i
Version: 0.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Custom inflections for Node.js
License: MIT
Group: System Environment/Libraries
URL: https://github.com/pksunkara/inflect
Source0: http://registry.npmjs.org/i/-/i-%{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(vows)
@@ -40,7 +46,7 @@ cp -pr package.json lib/ \
%if 0%{?enable_tests}
%check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
%{nodejs_sitelib}/vows/bin/vows --spec $(find test -name '*-test.js')
%endif
@@ -51,5 +57,8 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Sun Jul 21 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.3.1-2
+- restrict to compatible arches
+
* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.3.1-1
- initial package
More information about the scm-commits
mailing list