summaryrefslogtreecommitdiff
path: root/dh_testversion
diff options
context:
space:
mode:
authorjoey <joey>2002-01-06 04:58:07 +0000
committerjoey <joey>2002-01-06 04:58:07 +0000
commit07659546d4248d4f4f4edc2c03d2ca5a6fe32f02 (patch)
tree74f1d6681492ef390ea04f1a4e0b255a3ec61785 /dh_testversion
parentf4bfda706202d3136b6475cf0680674172ddf4f1 (diff)
r501: * Began work on v4 support (and thus the large version number jump), and it
is only for the very brave right now since I will unhesitatingly break compatability in v4 mode as I'm developing it. Currently, updating to v4 mode will only make dh_makeshlibs -V generate shared library deps that omit the debian part of the version number. The reasoning behind this change is that the debian revision should not typically break binary compatability, that existing use of -V is causing too tight versioned deps, and that if you do need to include the debian revision for some reason, you can always write it out by hand. Closes: #101497 * dh_testversion is deprecated -- use build deps instead. A warning message is now output when it runs. Currently used by: 381 packages. * dh_installxaw is deprecated -- xaw-wrappers in no longer in the distribution. A warning message is now output when it runs. Currently used by: 3 packages (bugs filed). * Added referneces to menufile in dh_installmenu man page. Closes: #127978 (dh_make is not a part of debhelper, if you want it changed, file a bug on dh-make.)
Diffstat (limited to 'dh_testversion')
-rwxr-xr-xdh_testversion3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_testversion b/dh_testversion
index b915dd1..e7fbfec 100755
--- a/dh_testversion
+++ b/dh_testversion
@@ -63,7 +63,10 @@ elsif ($#ARGV eq 0) {
$ver=shift;
}
+warning("This program is deprecated, you should use build dependencies instead.");
+
if (defined $compare and defined $ver) {
+ warning("Something like: \"Build-Depends: debhelper ($compare $ver)\"");
system('dpkg','--compare-versions',$Debian::Debhelper::Dh_Version::version,$compare,$ver) == 0 ||
error("debhelper version $Debian::Debhelper::Dh_Version::version is installed, but a version $compare $ver is needed to build this package.");
}