From 88b68ba54ddadd25ef7e0be877b114f8707d398f Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Mar 03 2014 21:46:13 +0000 Subject: Fix symlinks when running tests --- 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 - 2.0.0-2 +- fix symlinks when running tests + * Sun Mar 02 2014 Jamie Nguyen - 2.0.0-1 - initial package