commit 2756a6dae53920543ef881f946d806e3118b634a
Author: Elan Ruusamäe <[email protected]>
Date:   Wed May 15 23:46:26 2013 +0300

    avoid printing out empty deps

 nodejs.req | 3 ++-
 rpm.spec   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 4b6b0be..54100b0 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -52,7 +52,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       5.4.10
-Release:       50.2
+Release:       50.3
 License:       LGPL v2.1
 Group:         Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.10-0.20120706.src.rpm
diff --git a/nodejs.req b/nodejs.req
index 8130276..4f06bfd 100755
--- a/nodejs.req
+++ b/nodejs.req
@@ -61,7 +61,8 @@ def main():
                     req = 'npm(' + name + ')'
                     deps += process_dep(req, version)
 
-    print '\n'.join(deps)
+    if deps:
+        print '\n'.join(deps)
 
 def process_dep(req, version):
     """Converts an individual npm dependency into RPM dependencies"""
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/2756a6dae53920543ef881f946d806e3118b634a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to