[nodejs-winston] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Tue Aug 20 20:43:17 UTC 2013


commit a3e05d0ff395863dc62d28069e11f62785a756c5
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Tue Aug 20 21:42:59 2013 +0100

    Restrict to compatible arches

 nodejs-winston.spec |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/nodejs-winston.spec b/nodejs-winston.spec
index 484be76..fe9099d 100644
--- a/nodejs-winston.spec
+++ b/nodejs-winston.spec
@@ -1,19 +1,25 @@
 %{?nodejs_find_provides_and_requires}
 
 # Not all dependencies have been satisfied yet.
-%global enable_tests 0
+%global enable_tests 1
 
 Name:       nodejs-winston
 Version:    0.7.2
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    A multiple transport asynchronous logging library for Node.js
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/flatiron/winston
 Source0:    http://registry.npmjs.org/winston/-/winston-%{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(async)
@@ -62,7 +68,7 @@ cp -pr package.json lib/ \
 
 %if 0%{?enable_tests}
 %check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
 %{nodejs_sitelib}/vows/bin/vows --spec --isolate
 %endif
 
@@ -73,6 +79,9 @@ ln -sf %{nodejs_sitelib} .
 
 
 %changelog
+* Tue Aug 20 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.7.2-3
+- restrict to compatible arches
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list