[jasmine-node] Add ExclusiveArch logic

Jamie Nguyen jamielinux at fedoraproject.org
Sun Aug 18 15:10:57 UTC 2013


commit c6f1b2a93eaef98dd819b342d1f368adb019a6b8
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Aug 18 16:09:33 2013 +0100

    Add ExclusiveArch logic

 jasmine-node.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/jasmine-node.spec b/jasmine-node.spec
index c47f32a..86035f9 100644
--- a/jasmine-node.spec
+++ b/jasmine-node.spec
@@ -14,12 +14,16 @@ Source0:    http://registry.npmjs.org/jasmine-node/-/jasmine-node-%{version}.tgz
 Source1:    %{name}.1
 
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
 ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 # Remove the version from jasmine.js location.
 Patch0:     %{name}-1.4.0-jasmine-location.patch
 
-BuildRequires:  nodejs-devel
+BuildRequires:  nodejs-packaging
 
 %if 0%{?enable_tests}
 BuildRequires:  coffee-script


More information about the scm-commits mailing list