[nodejs-joose] Add logic for ExclusiveArch macro

Jamie Nguyen jamielinux at fedoraproject.org
Mon Jul 22 10:18:57 UTC 2013


commit 9a1f380373f27bc04f954f99663226b390fa2532
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Jul 22 11:18:30 2013 +0100

    Add logic for ExclusiveArch macro

 nodejs-joose.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/nodejs-joose.spec b/nodejs-joose.spec
index 9ecbc9b..fda5fa0 100644
--- a/nodejs-joose.spec
+++ b/nodejs-joose.spec
@@ -14,7 +14,11 @@ URL:        https://github.com/Joose/Joose
 Source0:    http://registry.npmjs.org/joose/-/joose-%{version}.tgz
 
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
 ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 # The requires that librarian uses are relative paths and need to be fixed.
 Patch0:     nodejs-joose-3.50.0-librarian-requires.patch


More information about the scm-commits mailing list