[nodejs-ncp] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 28 14:17:41 UTC 2013
commit 5d86f982f2e1fe06351fab078e14637dcc7f584f
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 28 15:17:13 2013 +0100
Restrict to compatible arches
nodejs-ncp.spec | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-ncp.spec b/nodejs-ncp.spec
index 031e36b..8cd3592 100644
--- a/nodejs-ncp.spec
+++ b/nodejs-ncp.spec
@@ -4,19 +4,25 @@
Name: nodejs-ncp
Version: 0.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Asynchronous recursive file copy utility for Node.js
License: MIT
Group: System Environment/Libraries
URL: https://github.com/AvianFlu/ncp
Source0: http://registry.npmjs.org/ncp/-/ncp-%{version}.tgz
+
BuildArch: noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
# For some reason assert.deepEqual doesn't work in ncp-test.js so use
# npm(deep-equal) instead.
Patch0: nodejs-ncp-0.3.0-deep-equal.patch
-BuildRequires: nodejs-devel
+BuildRequires: nodejs-packaging
%if 0%{?enable_tests}
BuildRequires: npm(deep-equal)
@@ -54,7 +60,7 @@ ln -s %{nodejs_sitelib}/ncp/bin/ncp %{buildroot}%{_bindir}/ncp
%if 0%{?enable_tests}
%check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
%{nodejs_sitelib}/vows/bin/vows --isolate --spec
%endif
@@ -66,6 +72,9 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.2-2
+- restrict to compatible arches
+
* Sat May 25 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.2-1
- update to upstream release 0.4.2
More information about the scm-commits
mailing list