[nodejs/f18] fix brown paper bag bug in requires generation script

T.C. Hollingsworth patches at fedoraproject.org
Sat Jan 12 23:30:57 UTC 2013


commit 7c60b0defb6448ee9a0043b7016c7b5e64ced1f9
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Sat Jan 12 16:16:50 2013 -0700

    fix brown paper bag bug in requires generation script

 nodejs.req  |    2 +-
 nodejs.spec |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nodejs.req b/nodejs.req
index 14c59e5..8130276 100755
--- a/nodejs.req
+++ b/nodejs.req
@@ -54,7 +54,7 @@ def main():
             if 'engines' in metadata and 'node' in metadata['engines']:
                 deps += process_dep(req, metadata['engines']['node'])
             else:
-                deps += req
+                deps.append(req)
 
             if 'dependencies' in metadata:
                 for name, version in metadata['dependencies'].iteritems():
diff --git a/nodejs.spec b/nodejs.spec
index a7237bb..050ed86 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -1,6 +1,6 @@
 Name: nodejs
 Version: 0.9.5
-Release: 8%{?dist}
+Release: 9%{?dist}
 Summary: JavaScript runtime
 License: MIT and ASL 2.0 and ISC and BSD
 Group: Development/Languages
@@ -168,6 +168,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
 %doc LICENSE
 
 %changelog
+* Sat Jan 12 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.9.5-9
+- fix brown paper bag bug in requires generation script
+
 * Thu Jan 10 2013 Stephen Gallagher <sgallagh at redhat.com> - 0.9.5-8
 - Build debug binary and install it in the nodejs-devel subpackage
 


More information about the scm-commits mailing list