[nodejs-acorn] Fix install path of util/walk.js

Gerard Ryan galileo at fedoraproject.org
Thu Nov 27 19:23:48 UTC 2014


commit ec010bc8bd8331b2bbc3f56e0f3098ab0168c70e
Author: Gerard Ryan <gerard at ryan.lt>
Date:   Thu Nov 27 19:23:09 2014 +0000

    Fix install path of util/walk.js

 nodejs-acorn.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-acorn.spec b/nodejs-acorn.spec
index 7889523..27cac5b 100644
--- a/nodejs-acorn.spec
+++ b/nodejs-acorn.spec
@@ -2,7 +2,7 @@
 
 Name:           nodejs-%{shortname}
 Version:        0.9.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        ECMAScript parser
 
 License:        MIT
@@ -26,9 +26,11 @@ A tiny, fast JavaScript parser, written completely in JavaScript.
 
 %install
 mkdir -p %{buildroot}%{nodejs_sitelib}/%{shortname}/
-cp -pr package.json %{shortname}.js %{shortname}_loose.js %{shortname}_csp.js util/walk.js \
+cp -pr package.json %{shortname}.js %{shortname}_loose.js %{shortname}_csp.js util/ \
     %{buildroot}%{nodejs_sitelib}/%{shortname}
 
+rm -f %{buildroot}%{nodejs_sitelib}/%{shortname}/util/test_walk.js
+
 %nodejs_symlink_deps
 
 
@@ -42,6 +44,9 @@ node test/run.js
 
 
 %changelog
+* Thu Nov 27 2014 Gerard Ryan <gerard at ryan.lt> - 0.9.0-3
+- Fix install path of util/walk.js
+
 * Tue Nov 25 2014 Gerard Ryan <gerard at ryan.lt> - 0.9.0-2
 - Don't package util/test_walk.js
 


More information about the scm-commits mailing list