[nodejs-send] Update to upstream release 0.1.4

Jamie Nguyen jamielinux at fedoraproject.org
Mon Aug 26 15:21:10 UTC 2013


commit e3a9ff0f1ff54d7dcb1a677d70f009ac6bcc7c85
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Aug 26 16:20:48 2013 +0100

    Update to upstream release 0.1.4

 .gitignore       |    2 ++
 dl-tests.sh      |    2 +-
 nodejs-send.spec |   18 ++++++++++++------
 sources          |    4 ++--
 4 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 47724af..840a784 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
 /tests-0.1.0.tar.bz2
 /send-0.1.2.tgz
 /tests-0.1.2.tar.bz2
+/send-0.1.4.tgz
+/tests-0.1.4.tar.bz2
diff --git a/dl-tests.sh b/dl-tests.sh
index 2d494b7..ae1343a 100644
--- a/dl-tests.sh
+++ b/dl-tests.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-tag=0.1.2
+tag=0.1.4
 
 set -e
 
diff --git a/nodejs-send.spec b/nodejs-send.spec
index ff926ab..3d2045e 100644
--- a/nodejs-send.spec
+++ b/nodejs-send.spec
@@ -3,8 +3,8 @@
 %global enable_tests 0
 
 Name:       nodejs-send
-Version:    0.1.2
-Release:    2%{?dist}
+Version:    0.1.4
+Release:    1%{?dist}
 Summary:    Better streaming static file server with Range and conditional-GET support
 # License text is included in Readme.md
 License:    MIT
@@ -17,9 +17,13 @@ Source1:    tests-%{version}.tar.bz2
 Source10:   dl-tests.sh
 
 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(debug)
@@ -42,8 +46,6 @@ to take appropriate actions in your application or framework.
 %setup -q -n package
 %setup -q -T -D -a 1 -n package
 %nodejs_fixdep mime '~1.2.9'
-%nodejs_fixdep fresh '~0.1.0'
-%nodejs_fixdep range-parser '~0.0.4'
 
 
 %build
@@ -60,7 +62,7 @@ cp -pr package.json index.js lib/ \
 
 %if 0%{?enable_tests}
 %check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
 %{nodejs_sitelib}/mocha/bin/mocha --require should --reporter spec --bail
 %endif
 
@@ -71,6 +73,10 @@ ln -sf %{nodejs_sitelib} .
 
 
 %changelog
+* Mon Aug 26 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.4-1
+- update to upstream release 0.1.4
+- add ExclusiveArch logic
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 6d5c754..a8e9588 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-826a5086252bff91ec19e06246a4737b  send-0.1.2.tgz
-f771f86fd81509c8d7c44a879021b6be  tests-0.1.2.tar.bz2
+57b30c02a0c33c34baced105158f3aa9  send-0.1.4.tgz
+6d045e0f30a40f33b702d0a8c905acc4  tests-0.1.4.tar.bz2


More information about the scm-commits mailing list