[nodejs-which/el6] Fix broken symlink in bindir

T.C. Hollingsworth patches at fedoraproject.org
Fri May 3 14:04:16 UTC 2013


commit c51117e1897b8adc62251236309454b087a00134
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Fri May 3 10:43:08 2013 +0200

    Fix broken symlink in bindir

 nodejs-which.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-which.spec b/nodejs-which.spec
index 5e2db10..51b98d5 100644
--- a/nodejs-which.spec
+++ b/nodejs-which.spec
@@ -2,7 +2,7 @@
 
 Name:       nodejs-which
 Version:    1.0.5
-Release:    6%{?dist}
+Release:    7%{?dist}
 Summary:    A JavaScript implementation of the 'which' command
 License:    MIT
 Group:      System Environment/Libraries
@@ -29,7 +29,7 @@ mkdir -p %{buildroot}%{nodejs_sitelib}/which
 cp -pr bin which.js package.json %{buildroot}%{nodejs_sitelib}/which
 
 mkdir -p %{buildroot}%{_bindir}
-ln -sf ../lib/node_modules/bin/which %{buildroot}%{_bindir}/which-nodejs
+ln -sf ../lib/node_modules/which/bin/which %{buildroot}%{_bindir}/which-nodejs
 
 %nodejs_symlink_deps
 
@@ -43,6 +43,9 @@ rm -rf %{buildroot}
 %doc README.md LICENSE
 
 %changelog
+* Fri May  3 2013 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.0.5-7
+- Fix broken symlink in bindir
+
 * Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.5-6
 - add macro for EPEL6 dependency generation
 


More information about the scm-commits mailing list