[nodejs-ltx] Update to 0.2.4 and restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sat Jul 27 20:55:34 UTC 2013


commit 2c1009a9fc09232bb6773850c3e7fa7064900305
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Jul 27 21:53:30 2013 +0100

    Update to 0.2.4 and restrict to compatible arches

 nodejs-ltx.spec |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-ltx.spec b/nodejs-ltx.spec
index ab89128..a56994f 100644
--- a/nodejs-ltx.spec
+++ b/nodejs-ltx.spec
@@ -3,16 +3,22 @@
 %global enable_tests 0
 
 Name:       nodejs-ltx
-Version:    0.2.3
+Version:    0.2.4
 Release:    1%{?dist}
 Summary:    A Node.js module for parsing, modifying and building XML
 License:    MIT
 Group:      System Environment/Libraries
 URL:        https://github.com/astro/ltx
 Source0:    http://registry.npmjs.org/ltx/-/ltx-%{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)
@@ -40,7 +46,7 @@ cp -pr package.json index.js lib/ \
 
 %if 0%{?enable_tests}
 %check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
 %__nodejs test/element-test.js
 %__nodejs test/parse-test.js
 %endif
@@ -52,6 +58,9 @@ ln -sf %{nodejs_sitelib} .
 
 
 %changelog
+* Sat Jul 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.4-1
+- update to upstream release 0.2.4
+
 * Sat May 25 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3-1
 - update to upstream release 0.2.3
 


More information about the scm-commits mailing list