tags 746612 + patch
thanks

Thorsten Glaser dixit:

>dch is still using the old format, which lacks the
>“, binary-only=yes” part. Please fix this.

Patch attached; mildly tested (I do not really speak Perl).

Thanks,
//mirabilos
-- 
<theftf> Ich gebs zu, jupp ist cool
        -- theftf zu Natureshadow beim Fixen von Debian
From 8cbe5d25243242d7e9ce8ae1c5fe4192a50a1efd Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <t.gla...@tarent.de>
Date: Fri, 2 May 2014 00:51:57 +0200
Subject: [PATCH] dch: Use new form of changelog entry for binNMUs (Closes:
 #746612)

Signed-off-by: Thorsten Glaser <t.gla...@tarent.de>
---
 scripts/debchange.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index 85f933a..25d305c 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -1285,7 +1285,9 @@ if (($opt_i || $opt_n || $opt_bn || $opt_qa || $opt_R || 
$opt_s || $opt_team ||
 
        $merge = 1;
     } else {
-       print O "$PACKAGE ($NEW_VERSION) $distribution; urgency=$urgency\n\n";
+       print O "$PACKAGE ($NEW_VERSION) $distribution; urgency=$urgency";
+       print O ", binary-only=yes" if ($opt_bn);
+       print O "\n\n";
        if ($opt_n && ! $opt_news) {
            print O "  * Non-maintainer upload.\n";
            $line = 1;
-- 
2.0.0.rc0

Reply via email to