[nodejs-revalidator] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 28 21:52:24 UTC 2013
commit ba75d943492a92f54e188f6036b8b966c1dffbad
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 28 22:52:09 2013 +0100
Restrict to compatible arches
nodejs-revalidator.spec | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-revalidator.spec b/nodejs-revalidator.spec
index a0c7e0b..5835bd7 100644
--- a/nodejs-revalidator.spec
+++ b/nodejs-revalidator.spec
@@ -4,15 +4,21 @@
Name: nodejs-revalidator
Version: 0.1.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A cross-browser/Node.js validator used by resourceful
License: ASL 2.0
Group: System Environment/Libraries
URL: https://github.com/flatiron/revalidator
Source0: http://registry.npmjs.org/revalidator/-/revalidator-%{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 test/*-test.js --spec
%endif
@@ -51,5 +57,8 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.5-2
+- restrict to compatible arches
+
* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.5-1
- initial package
More information about the scm-commits
mailing list