[nodejs-js-yaml] Add logic for ExcusiveArch macro

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 21 21:54:34 UTC 2013


commit 559e7a623a59b33ce0c9fbac3a0d376959350c35
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 21 22:54:12 2013 +0100

    Add logic for ExcusiveArch macro

 nodejs-js-yaml.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-js-yaml.spec b/nodejs-js-yaml.spec
index 79edbe7..94a0837 100644
--- a/nodejs-js-yaml.spec
+++ b/nodejs-js-yaml.spec
@@ -4,7 +4,7 @@
 
 Name:       nodejs-js-yaml
 Version:    2.1.0
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    YAML 1.2 parser and serializer
 License:    MIT
 Group:      System Environment/Libraries
@@ -19,7 +19,11 @@ Source10:   dl-tests.sh
 Source20:   js-yaml.1
 
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
 ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 BuildRequires:  nodejs-packaging
 
@@ -78,5 +82,8 @@ NODE_ENV=test %{nodejs_sitelib}/mocha/bin/mocha -R spec
 
 
 %changelog
+* Sun Jul 21 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.1.0-2
+- add logic for ExclusiveArch macro
+
 * Fri Jun 21 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.1.0-1
 - initial package


More information about the scm-commits mailing list