[nodejs-constantinople/f20] Fix symlinks when running tests
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Mar 3 21:45:46 UTC 2014
commit 88b68ba54ddadd25ef7e0be877b114f8707d398f
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Mar 3 21:43:12 2014 +0000
Fix symlinks when running tests
nodejs-constantinople.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-constantinople.spec b/nodejs-constantinople.spec
index d42ce7d..61e74ca 100644
--- a/nodejs-constantinople.spec
+++ b/nodejs-constantinople.spec
@@ -4,7 +4,7 @@
Name: nodejs-constantinople
Version: 2.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Determine whether a JavaScript expression evaluates to a constant
License: MIT
Group: System Environment/Libraries
@@ -38,6 +38,7 @@ done
%nodejs_fixdep uglify-js '~2.2'
+
%build
#nothing to do
@@ -53,6 +54,7 @@ cp -pr package.json index.js \
%if 0%{?enable_tests}
%check
%nodejs_symlink_deps --check
+ln -sf /usr/lib/node_modules/uglify-js node_modules/uglify-js
/usr/bin/mocha -R spec
%endif
@@ -63,5 +65,8 @@ cp -pr package.json index.js \
%changelog
+* Mon Mar 03 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.0.0-2
+- fix symlinks when running tests
+
* Sun Mar 02 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.0.0-1
- initial package
More information about the scm-commits
mailing list