[nodejs-difflet] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 21 19:22:17 UTC 2013
commit f8209b40326e5d0e3bca3d82148f13219938a2d8
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 21 20:21:54 2013 +0100
Restrict to compatible arches
nodejs-difflet.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-difflet.spec b/nodejs-difflet.spec
index 78f8356..ae3e25c 100644
--- a/nodejs-difflet.spec
+++ b/nodejs-difflet.spec
@@ -2,9 +2,15 @@
Name: nodejs-difflet
Version: 0.2.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Colorful diffs for JavaScript objects
+
BuildArch: noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
Group: System Environment/Libraries
#no license file included; "MIT" indicated in package.json
@@ -13,7 +19,7 @@ URL: https://github.com/substack/difflet
Source0: http://registry.npmjs.org/difflet/-/difflet-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: nodejs-devel
+BuildRequires: nodejs-packaging
#BuildRequires: npm(tap)
%description
@@ -48,6 +54,9 @@ rm -rf %buildroot
%doc README.markdown example
%changelog
+* Sun Jul 21 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3-4
+- restrict to compatible arches
+
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.2.3-3
- add macro to enable dependency generation on EPEL6
More information about the scm-commits
mailing list