Author: adam-guest
Date: 2008-04-07 06:28:21 +0000 (Mon, 07 Apr 2008)
New Revision: 1277
Modified:
trunk/debian/changelog
trunk/scripts/debchange.pl
Log:
+ Fix NEWS files in combination with NMU versioning
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-07 02:31:43 UTC (rev 1276)
+++ trunk/debian/changelog 2008-04-07 06:28:21 UTC (rev 1277)
@@ -11,6 +11,7 @@
gregor herrmann
+ Fix and improve some manpage formatting. Thanks gregor herrmann
+ Skip NMU detection when handling NEWS files or creating a new changelog
+ + Fix NEWS files in combination with NMU versioning
[ James Vega ]
* debian/control:
Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl 2008-04-07 02:31:43 UTC (rev 1276)
+++ trunk/scripts/debchange.pl 2008-04-07 06:28:21 UTC (rev 1277)
@@ -791,6 +791,14 @@
my $date_cmd = ($opt_tz ? "TZ=$opt_tz " : "") . "date -R";
chomp(my $DATE=`$date_cmd`);
+if ($opt_news && !$opt_i && !$opt_a) {
+ if ($VERSION eq $changelog{'Version'}) {
+ $opt_a = 1;
+ } else {
+ $opt_i = 1;
+ }
+}
+
# Are we going to have to figure things out for ourselves?
if (! $opt_i && ! $opt_v && ! $opt_d && ! $opt_a && ! $opt_e && ! $opt_r &&
! $opt_n && ! $opt_bn && ! $opt_qa && ! $opt_s && ! $opt_bpo &&
--
To unsubscribe, send mail to [EMAIL PROTECTED]