Package: dh-make Version: 0.59 Severity: wishlist Tags: patch Please allow the forced package name option to specify 0 as a version, e.g. "-p mypackage_0". The test currently looks for anything that Perl considers "true"; the patch below instead tests for the empty string.
*** dh_make.patch --- /usr/bin/dh_make 2011-06-19 01:27:43.000000000 +0100 +++ ./dh_make 2011-08-18 08:52:53.457014911 +0100 @@ -337,7 +337,7 @@ $main::forced_package_name = $1; $forced_package_version = $2; } - if ( ($forced_package_version) + if ( ($forced_package_version ne "") || ( ($main::forced_package_name) && ($pwd =~ /.*\/($main::forced_package_name)-([0-9][0-9a-zA-Z+.~-]*)$/) -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dh-make depends on: ii debhelper 8.9.4 helper programs for debian/rules ii dpkg-dev 1.16.0.3 Debian package development tools ii make 3.81-8.1 An utility for Directing compilati ii perl 5.12.4-4 Larry Wall's Practical Extraction dh-make recommends no packages. Versions of packages dh-make suggests: ii build-essential 11.5 Informational list of build-essent -- no debconf information -- http://rjy.org.uk/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org