Bug#400400: dh-make-perl: Generated Build-Depends-Indep field makes no sense

Hilko Bengen bengen at debian.org
Sat Nov 25 23:03:10 UTC 2006


Package: dh-make-perl
Version: 0.24
Severity: serious
Tags: patch

When trying to create a .deb from DateTime-Format-ISO8601-0.0403,
dh-make-perl put the following line into debian/control:

 Build-Depends-Indep: 5.8.8-6.1

>From looking at an older version of dh-make-perl, I guessed that
something along the lines of

 Build-Depends-Indep: perl (>= 5.8.8-6.1)

is what you had in mind. The attached patch should do the trick.

Cheers,
-Hilko

--- dh-make-perl.orig   2006-11-25 23:54:15.000000000 +0100
+++ dh-make-perl        2006-11-25 23:54:52.000000000 +0100
@@ -145,7 +145,7 @@
 #my $section = 'interpreters';
 my $section = 'perl';
 my $depends = '${perl:Depends}';
-my $bdependsi = $perl_pkg->{Version};
+my $bdependsi = 'perl (>= '.$perl_pkg->{Version}.')';
 my $bdepends = 'debhelper (>= 5.0.0)';
 my $maintainer = get_maintainer();
 my $arch = 'all';

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dh-make-perl depends on:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  dpkg-dev                      1.13.24    package building tools for Debian
ii  fakeroot                      1.5.10     Gives a fake root environment
ii  libmodule-depends-perl        0.10-1     identify the dependencies of a dis
ii  libyaml-perl                  0.62-1     YAML Ain't Markup Language (tm)
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.8.8-6.1  Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.0.8.2    APT package searching utility -- c
ii  libmodule-build-perl          0.26-1     Subclassable and make-independant 

-- no debconf information




More information about the pkg-perl-maintainers mailing list