From ded6ce59e1ba8fb00122297948e8589001b96909 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Nov 2009 13:11:38 -0500 Subject: Adjust code to add deprecation warning for compatability level 4. (Man page already said it was deprecated.) Closes: #555899 --- Debian/Debhelper/Dh_Lib.pm | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 8af365ff..960f2721 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -313,7 +313,7 @@ sub dirname { } } - if ($c < 4 && ! $warned_compat) { + if ($c <= 4 && ! $warned_compat) { warning("Compatibility levels before 5 are deprecated."); $warned_compat=1; } diff --git a/debian/changelog b/debian/changelog index b9debf47..495132e7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ debhelper (7.4.4) UNRELEASED; urgency=low time soon.) Closes: #554509 * Drop deprecated programs from the list of commands in debhelper(7). Closes: #548382 + * Adjust code to add deprecation warning for compatability level 4. + (Man page already said it was deprecated.) Closes: #555899 -- Joey Hess Wed, 28 Oct 2009 18:10:45 -0400 -- cgit v1.2.3