[nodejs-read-package-json] Add ExclusiveArch logic
Jamie Nguyen
jamielinux at fedoraproject.org
Sat Sep 7 12:53:51 UTC 2013
commit f2fbd2a7dd3dce5aa510775bb48460d06e44f1bb
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat Sep 7 13:52:51 2013 +0100
Add ExclusiveArch logic
nodejs-read-package-json.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-read-package-json.spec b/nodejs-read-package-json.spec
index 620a378..4aff62d 100644
--- a/nodejs-read-package-json.spec
+++ b/nodejs-read-package-json.spec
@@ -4,8 +4,6 @@ Name: nodejs-read-package-json
Version: 1.1.3
Release: 1%{?dist}
Summary: npm's package.json parser
-BuildArch: noarch
-ExclusiveArch: %{nodejs_arches} noarch
Group: System Environment/Libraries
License: ISC
@@ -13,6 +11,13 @@ URL: https://github.com/isaacs/read-package-json
Source0: http://registry.npmjs.org/read-package-json/-/read-package-json-%{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> - 1.1.3-1
- update to upstream release 1.1.3
- change License from BSD to ISC
+- add ExclusiveArch logic
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.1.1-1
- new upstream release 1.1.1
More information about the scm-commits
mailing list