[nodejs-lockfile] Add ExclusiveArch logic
Jamie Nguyen
jamielinux at fedoraproject.org
Sat Sep 7 12:47:13 UTC 2013
commit d44d5db3d18ddc5d71059f14d88391c7d0ccc2dd
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat Sep 7 13:45:40 2013 +0100
Add ExclusiveArch logic
nodejs-lockfile.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-lockfile.spec b/nodejs-lockfile.spec
index ce23c7d..5bdb05a 100644
--- a/nodejs-lockfile.spec
+++ b/nodejs-lockfile.spec
@@ -4,8 +4,6 @@ Name: nodejs-lockfile
Version: 0.4.2
Release: 1%{?dist}
Summary: A very polite lock file utility
-BuildArch: noarch
-ExclusiveArch: %{nodejs_arches} noarch
Group: System Environment/Libraries
License: BSD
@@ -13,6 +11,13 @@ URL: https://github.com/isaacs/lockfile
Source0: http://registry.npmjs.org/lockfile/-/lockfile-%{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
@@ -44,6 +49,7 @@ rm -rf %buildroot
%changelog
* Sat Sep 07 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.2-1
- update to upstream release 0.4.2
+- add ExclusiveArch logic
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list