Author: ryan52-guest
Date: 2009-09-05 04:20:28 +0000 (Sat, 05 Sep 2009)
New Revision: 1996

Modified:
   trunk/debian/changelog
   trunk/scripts/debchange.pl
Log:
dch: fix comparison of versions when the new and current version are
the same (Closes: #545099)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-09-05 00:28:22 UTC (rev 1995)
+++ trunk/debian/changelog      2009-09-05 04:20:28 UTC (rev 1996)
@@ -3,8 +3,10 @@
   * uscan: fix a regression from the security fix when the command is
     given parameters. use Text::ParseWords::shellwords to parse the
     given command.
+  * dch: fix comparison of versions when the new and current version are
+    the same (Closes: #545099)
 
- -- Ryan Niebur <[email protected]>  Thu, 03 Sep 2009 17:54:51 -0700
+ -- Ryan Niebur <[email protected]>  Fri, 04 Sep 2009 21:20:22 -0700
 
 devscripts (2.10.54) unstable; urgency=high
 

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2009-09-05 00:28:22 UTC (rev 1995)
+++ trunk/scripts/debchange.pl  2009-09-05 04:20:28 UTC (rev 1996)
@@ -973,7 +973,7 @@
            $opt_p=1;
        }
 
-       if (system("dpkg --compare-versions $VERSION lt $NEW_VERSION" .
+       if (system("dpkg --compare-versions $VERSION le $NEW_VERSION" .
                  " 2>/dev/null 1>&2")) {
            if ($opt_b or ($opt_allow_lower and $NEW_VERSION =~ 
/$opt_allow_lower/)) {
                warn "$progname warning: new version ($NEW_VERSION) is less 
than\n" .



-- 
To unsubscribe, send mail to [email protected].

Reply via email to