From 5dea231c0a40a547bc92ebba9f00724468e17a74 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Mar 03 2014 21:49:12 +0000 Subject: Fix symlink when running tests --- diff --git a/nodejs-with.spec b/nodejs-with.spec index e852af0..92d54ca 100644 --- a/nodejs-with.spec +++ b/nodejs-with.spec @@ -4,7 +4,7 @@ Name: nodejs-with Version: 3.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Compile time `with` for strict mode JavaScript License: MIT Group: System Environment/Libraries @@ -59,6 +59,7 @@ cp -pr package.json index.js vars.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 @@ -69,5 +70,8 @@ cp -pr package.json index.js vars.js \ %changelog +* Mon Mar 03 2014 Jamie Nguyen - 3.0.0-2 +- fix symlink when running tests + * Sun Mar 02 2014 Jamie Nguyen - 3.0.0-1 - initial package