[nodejs-ncp] Update to upstream release 0.5.0

Jamie Nguyen jamielinux at fedoraproject.org
Fri Apr 18 19:13:00 UTC 2014


commit 967392af65c210416093a2160fc090d0f1de2201
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Fri Apr 18 20:12:45 2014 +0100

    Update to upstream release 0.5.0

 .gitignore                        |    1 +
 nodejs-ncp-0.3.0-deep-equal.patch |   29 -----------------------------
 nodejs-ncp.spec                   |   16 +++++++---------
 sources                           |    2 +-
 4 files changed, 9 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 81b99c7..64e831e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /ncp-0.4.2.tgz
+/ncp-0.5.0.tgz
diff --git a/nodejs-ncp.spec b/nodejs-ncp.spec
index 8cd3592..dc6537e 100644
--- a/nodejs-ncp.spec
+++ b/nodejs-ncp.spec
@@ -3,8 +3,8 @@
 %global enable_tests 0
 
 Name:       nodejs-ncp
-Version:    0.4.2
-Release:    2%{?dist}
+Version:    0.5.0
+Release:    1%{?dist}
 Summary:    Asynchronous recursive file copy utility for Node.js
 License:    MIT
 Group:      System Environment/Libraries
@@ -18,17 +18,13 @@ ExclusiveArch: %{nodejs_arches} noarch
 ExclusiveArch: %{ix86} x86_64 %{arm} noarch
 %endif
 
-# For some reason assert.deepEqual doesn't work in ncp-test.js so use
-# npm(deep-equal) instead.
-Patch0:     nodejs-ncp-0.3.0-deep-equal.patch
-
 BuildRequires:  nodejs-packaging
 
 %if 0%{?enable_tests}
 BuildRequires:  npm(deep-equal)
+BuildRequires:  npm(mocha)
 BuildRequires:  npm(read-dir-files)
 BuildRequires:  npm(rimraf)
-BuildRequires:  npm(vows)
 %endif
 
 %description
@@ -39,7 +35,6 @@ as a CLI tool and programmatically.
 
 %prep
 %setup -q -n package
-%patch0 -p1
 
 
 %build
@@ -61,7 +56,7 @@ ln -s %{nodejs_sitelib}/ncp/bin/ncp %{buildroot}%{_bindir}/ncp
 %if 0%{?enable_tests}
 %check
 %nodejs_symlink_deps --check
-%{nodejs_sitelib}/vows/bin/vows --isolate --spec
+/usr/bin/mocha -R spec
 %endif
 
 
@@ -72,6 +67,9 @@ ln -s %{nodejs_sitelib}/ncp/bin/ncp %{buildroot}%{_bindir}/ncp
 
 
 %changelog
+* Fri Apr 18 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.5.0-1
+- update to upstream release 0.5.0
+
 * Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.2-2
 - restrict to compatible arches
 
diff --git a/sources b/sources
index e026e65..0f29819 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-06fa78ed72271144d854274582d19e26  ncp-0.4.2.tgz
+77ab600bda886bd0663459be10425088  ncp-0.5.0.tgz


More information about the scm-commits mailing list