[nodejs-npmconf/f20] Add ExclusiveArch logic
Jamie Nguyen
jamielinux at fedoraproject.org
Sat Sep 7 12:40:39 UTC 2013
commit eccf084cf725f16546ef405cdac11f6337994e87
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat Sep 7 13:38:53 2013 +0100
Add ExclusiveArch logic
nodejs-npmconf.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-npmconf.spec b/nodejs-npmconf.spec
index 32264a7..b609d3c 100644
--- a/nodejs-npmconf.spec
+++ b/nodejs-npmconf.spec
@@ -4,8 +4,6 @@ Name: nodejs-npmconf
Version: 0.1.3
Release: 1%{?dist}
Summary: npm configuration module
-BuildArch: noarch
-ExclusiveArch: %{nodejs_arches} noarch
Group: System Environment/Libraries
License: BSD
@@ -13,6 +11,13 @@ URL: https://github.com/isaacs/npmconf
Source0: http://registry.npmjs.org/npmconf/-/npmconf-%{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
@@ -48,6 +53,7 @@ rm -rf %buildroot
%changelog
* Sat Sep 07 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.3-1
- update to upstream release 0.1.3
+- add ExclusiveArch logic
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.1.2-1
- new upstream release 0.1.2
More information about the scm-commits
mailing list