[nodejs-should] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 28 22:09:36 UTC 2013
commit 5ade1943a19271f746ba547823f22b222941a069
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 28 23:09:17 2013 +0100
Restrict to compatible arches
nodejs-should.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-should.spec b/nodejs-should.spec
index 65b97ae..05a9347 100644
--- a/nodejs-should.spec
+++ b/nodejs-should.spec
@@ -4,16 +4,22 @@
Name: nodejs-should
Version: 1.2.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A test framework agnostic BDD-style assertions for Node.js
# License text is included in Readme.md
License: MIT
Group: System Environment/Libraries
URL: https://github.com/visionmedia/should.js
Source0: http://registry.npmjs.org/should/-/should-%{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(mocha)
@@ -60,6 +66,9 @@ cp -pr package.json index.js lib/ \
%changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.2.2-3
+- restrict to compatible arches
+
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.2-2
- rebuild for missing npm(should) provides on EL6
More information about the scm-commits
mailing list