[nodejs-read-installed] Add ExclusiveArch logic

Jamie Nguyen jamielinux at fedoraproject.org
Sat Sep 7 12:58:51 UTC 2013


commit 1e061e520af7136829b847a7994133efdcec2594
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Sep 7 13:57:59 2013 +0100

    Add ExclusiveArch logic

 nodejs-read-installed.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-read-installed.spec b/nodejs-read-installed.spec
index c0dbb4e..db6facd 100644
--- a/nodejs-read-installed.spec
+++ b/nodejs-read-installed.spec
@@ -4,8 +4,6 @@ Name:           nodejs-read-installed
 Version:        0.2.4
 Release:        1%{?dist}
 Summary:        Returns a tree structure of all installed packages in a folder
-BuildArch:      noarch
-ExclusiveArch: %{nodejs_arches} noarch
 
 Group:          System Environment/Libraries
 License:        ISC
@@ -13,6 +11,13 @@ URL:            https://github.com/isaacs/read-installed
 Source0:        http://registry.npmjs.org/read-installed/-/read-installed-%{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
 
 %description
@@ -44,6 +49,7 @@ rm -rf %buildroot
 * Sat Sep 07 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.4-1
 - update to upstream release 0.2.4
 - change License from BSD to ISC
+- add ExclusiveArch logic
 
 * Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.2.3-1
 - new upstream release 0.2.3


More information about the scm-commits mailing list