Package: dh-make-perl
Version: 0.19
Severity: important
Tags: patch
Running dh-make-perl on Callback-1.06 returns:
Cannot use internal module data to gather the version; use --cpan or \
--version
Tracing it back, process_meta is always returning {}, even if the YAML
parsing succeeds.
Changing it to return parsed $yaml succeeds.
Patch attached.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dh-make-perl depends on:
ii debhelper 4.9.8 helper programs for debian/rules
ii dpkg-dev 1.13.11 package building tools for Debian
ii fakeroot 1.5.1 Gives a fake root environment
ii libmodule-depends-perl 0.10-1 identify the dependencies of a dis
ii libyaml-perl 0.38-2 YAML Ain't Markup Language (tm)
ii make 3.80-11 The GNU version of the "make" util
ii perl 5.8.7-5 Larry Wall's Practical Extraction
ii perl-modules [libpod-parser-p 5.8.7-5 Core Perl modules
Versions of packages dh-make-perl recommends:
pn apt-file <none> (no description available)
ii libmodule-build-perl 0.26-1 Subclassable and make-independant
-- no debconf information
Index: dh-make-perl-0.19/dh-make-perl
===================================================================
--- dh-make-perl-0.19.orig/dh-make-perl 2005-09-06 17:53:43.000000000 -0400
+++ dh-make-perl-0.19/dh-make-perl 2005-09-16 14:24:31.000000000 -0400
@@ -337,7 +337,7 @@
}
# Returns a simple hashref with all the keys/values defined in META.yml
- return {};
+ return $yaml;
}
sub extract_basic_copyright {