[nodejs-pkginfo] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Jul 28 15:20:45 UTC 2013
commit f00782ce79cd43fb6b0870cd66e0ec838f6f3d33
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Jul 28 16:20:11 2013 +0100
Restrict to compatible arches
nodejs-pkginfo.spec | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-pkginfo.spec b/nodejs-pkginfo.spec
index 6299db3..cff7e82 100644
--- a/nodejs-pkginfo.spec
+++ b/nodejs-pkginfo.spec
@@ -4,15 +4,21 @@
Name: nodejs-pkginfo
Version: 0.3.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: An easy way to expose properties on a module from a package.json
License: MIT
Group: System Environment/Libraries
URL: https://github.com/indexzero/node-pkginfo
Source0: http://registry.npmjs.org/pkginfo/-/pkginfo-%{version}.tgz
+
BuildArch: noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
-BuildRequires: nodejs-devel
+BuildRequires: nodejs-packaging
%if 0%{?enable_tests}
BuildRequires: npm(vows)
@@ -43,7 +49,7 @@ cp -pr package.json lib/ \
%if 0%{?enable_tests}
%check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
%{nodejs_sitelib}/vows/bin/vows test/*-test.js --spec
%endif
@@ -54,6 +60,9 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.3.0-4
+- restrict to compatible arches
+
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.3.0-3
- rebuild for missing npm(pkginfo) provides on EL6
More information about the scm-commits
mailing list