[nodejs-form-data] Add ExclusiveArch logic
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Aug 26 17:05:18 UTC 2013
commit d2775f1bf93a7c97f8bf0f76ce67a8bf32c25c8f
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Aug 26 18:04:51 2013 +0100
Add ExclusiveArch logic
nodejs-form-data.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-form-data.spec b/nodejs-form-data.spec
index 833eb9f..801987e 100644
--- a/nodejs-form-data.spec
+++ b/nodejs-form-data.spec
@@ -4,8 +4,6 @@ Name: nodejs-form-data
Version: 0.1.1
Release: 1%{?dist}
Summary: A module to create readable "multipart/form-data" streams
-BuildArch: noarch
-ExclusiveArch: %{nodejs_arches} noarch
Group: System Environment/Libraries
License: MIT
@@ -13,6 +11,13 @@ URL: https://github.com/felixge/node-form-data
Source0: http://registry.npmjs.org/form-data/-/form-data-%{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
@@ -41,6 +46,7 @@ rm -rf %buildroot
%changelog
* Mon Aug 26 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.1-1
- update to upstream release 0.1.1
+- add ExclusiveArch logic
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.1.0-1
- new upstream release 0.1.0
More information about the scm-commits
mailing list