[nodejs-methods] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sat Jul 27 21:10:22 UTC 2013
commit d1f6012edf71cb9a2af609c3922b83af327b0d1f
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat Jul 27 22:09:56 2013 +0100
Restrict to compatible arches
nodejs-methods.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-methods.spec b/nodejs-methods.spec
index 62ce5fb..e943977 100644
--- a/nodejs-methods.spec
+++ b/nodejs-methods.spec
@@ -2,7 +2,7 @@
Name: nodejs-methods
Version: 0.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: HTTP methods that node supports
License: MIT
Group: System Environment/Libraries
@@ -11,9 +11,15 @@ Source0: http://registry.npmjs.org/methods/-/methods-%{version}.tgz
# Upstream have been informed via email about missing LICENSE file.
# Include a copy of the MIT license to comply with the license requirements.
Source20: LICENSE
+
BuildArch: noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
-BuildRequires: nodejs-devel
+BuildRequires: nodejs-packaging
%description
%{summary}.
@@ -42,6 +48,9 @@ cp -pr package.json index.js \
%changelog
+* Sat Jul 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.1-4
+- restrict to compatible arches
+
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.1-3
- rebuild for missing npm(methods) provides on EL6
More information about the scm-commits
mailing list