[nodejs-lodash] Add ExclusiveArch logic

Jamie Nguyen jamielinux at fedoraproject.org
Sat Jul 27 20:47:27 UTC 2013


commit cf9b9a4b5e590bab7dc7a24f402ff9c5ad7e88d8
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Jul 27 21:47:02 2013 +0100

    Add ExclusiveArch logic

 nodejs-lodash.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-lodash.spec b/nodejs-lodash.spec
index cbef992..d7972ee 100644
--- a/nodejs-lodash.spec
+++ b/nodejs-lodash.spec
@@ -4,7 +4,7 @@
 
 Name:       nodejs-lodash
 Version:    1.3.1
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    A low-level utility library delivering consistency and customization
 License:    MIT
 Group:      System Environment/Libraries
@@ -16,7 +16,11 @@ Source1:    tests-v%{version}.tar.bz2
 Source10:   dl-tests.sh
 
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
 ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 # /usr/lib/rpm/nodejs.req fails if node engine version is omitted. This is a
 # temporary fix.
@@ -80,6 +84,9 @@ cp -pr package.json index.js dist/ \
 
 
 %changelog
+* Sat Jul 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.3.1-3
+- add ExclusiveArch logic
+
 * Thu Jun 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.3.1-2
 - add more comments
 


More information about the scm-commits mailing list