[nodejs-slide] Add ExclusiveArch logic

Jamie Nguyen jamielinux at fedoraproject.org
Tue Sep 3 19:47:13 UTC 2013


commit 420470de32ee0aea21efd08af2386fc50ff6272e
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Tue Sep 3 20:45:10 2013 +0100

    Add ExclusiveArch logic

 nodejs-slide.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/nodejs-slide.spec b/nodejs-slide.spec
index f8108e8..6505b14 100644
--- a/nodejs-slide.spec
+++ b/nodejs-slide.spec
@@ -8,8 +8,13 @@ License:    ISC
 URL:        https://github.com/isaacs/slide-flow-control
 Source0:    http://registry.npmjs.org/slide/-/slide-%{version}.tgz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
 ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 BuildRequires:  nodejs-packaging
 
@@ -41,6 +46,7 @@ rm -rf %{buildroot}
 %changelog
 * Tue Sep 03 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.1.5-1
 - update to upstream release 1.1.5
+- add ExclusiveArch logic
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list