[nodejs-uid2] Add ExclusiveArch logic for EL6

Jamie Nguyen jamielinux at fedoraproject.org
Mon Aug 26 13:52:36 UTC 2013


commit 0d984c5ddba60cf152ae1915c82f931e5744a4d3
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Aug 26 14:51:59 2013 +0100

    Add ExclusiveArch logic for EL6

 nodejs-uid2.spec |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-uid2.spec b/nodejs-uid2.spec
index cc4022d..82d4cad 100644
--- a/nodejs-uid2.spec
+++ b/nodejs-uid2.spec
@@ -1,13 +1,18 @@
 Name:           nodejs-uid2
 Version:        0.0.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Node.js module to generate strong unique IDs
 
 License:        MIT
 URL:            https://github.com/Coreh/uid2
 Source0:        http://registry.npmjs.org/uid2/-/uid2-%{version}.tgz
-BuildArch:      noarch
-ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildArch:  noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 BuildRequires:  nodejs-packaging
 
@@ -35,5 +40,8 @@ cp -r package.json index.js %{buildroot}/%{nodejs_sitelib}/uid2
 
 
 %changelog
+* Mon Aug 26 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.3-2
+- add ExclusiveArch logic for EL6
+
 * Sat Aug 17 2013 Tom Hughes <tom at compton.nu> - 0.0.3-1
 - Initial build of 0.0.3


More information about the scm-commits mailing list