[nodejs-bunker] Fix compatible arches on f18/el6

Jamie Nguyen jamielinux at fedoraproject.org
Sat Jul 6 06:51:37 UTC 2013


commit 7e6f846c8685b45141e5200ab7e05e3eb3add023
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Jul 6 07:50:47 2013 +0100

    Fix compatible arches on f18/el6

 nodejs-bunker.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-bunker.spec b/nodejs-bunker.spec
index e43601b..a3a064f 100644
--- a/nodejs-bunker.spec
+++ b/nodejs-bunker.spec
@@ -2,10 +2,14 @@
 
 Name:           nodejs-bunker
 Version:        0.1.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Code coverage in native JavaScript
 BuildArch:      noarch
-ExclusiveArch:  %{nodejs_arches} noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 Group:          System Environment/Libraries
 #no license file included, "MIT/X11" indicated in package.json
@@ -14,7 +18,7 @@ URL:            https://github.com/substack/node-bunker
 Source0:        http://registry.npmjs.org/bunker/-/bunker-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  nodejs-devel
+BuildRequires:  nodejs-packaging
 #BuildRequires:  npm(tap)
 
 %description
@@ -48,6 +52,9 @@ rm -rf %buildroot
 %doc README.markdown example
 
 %changelog
+* Sat Jul 06 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.2-4
+- fix compatible arches on f18/el6
+
 * Fri Jul 05 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.2-3
 - restrict to compatible arches
 


More information about the scm-commits mailing list