r17098 - in /trunk/dh-make-perl: debian/changelog dh-make-perl

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Mar 9 21:01:53 UTC 2008


Author: gregoa-guest
Date: Sun Mar  9 21:01:52 2008
New Revision: 17098

URL: http://svn.debian.org/wsvn/?sc=1&rev=17098
Log:
Don't add a trailing comma to Depends: if there are no extra
  dependencies.

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/dh-make-perl

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/dh-make-perl/debian/changelog?rev=17098&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Sun Mar  9 21:01:52 2008
@@ -13,11 +13,13 @@
   * Format the contributors' section in the POD with over/item/back, in the
     verbatim paragraph the formatting codes were not rendered; thanks to
     Nacho Barrientos Arias for spotting.
+  * Don't add a trailing comma to Depends: if there are no extra
+    dependencies.
 
   [ Damyan Ivanov ]
   * rules.* templates: add "install" to phony targets list
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 08 Mar 2008 23:27:40 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 09 Mar 2008 22:00:23 +0100
 
 dh-make-perl (0.38) unstable; urgency=low
 

Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/trunk/dh-make-perl/dh-make-perl?rev=17098&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Sun Mar  9 21:01:52 2008
@@ -185,7 +185,8 @@
 } else {
     $depends .= ', ${shlibs:Depends}' if $arch eq 'any';
     $depends .= ', ${misc:Depends}';
-    $depends .= ", " . extract_depends($maindir, $meta);
+    my $extradeps = extract_depends($maindir, $meta);
+    $depends .= ( $extradeps ? ", $extradeps" : '' );
 }
 
 apply_overrides();




More information about the Pkg-perl-cvs-commits mailing list