[SCM] Debian package checker branch, master, updated. 2.5.10-159-g7b8db3d
The following commit has been merged in the master branch:
commit 599410af0675016fa273832c4d7e9619507e17e6
Author: Niels Thykier <niels@thykier.net>
Date: Fri Sep 21 17:29:02 2012 +0200
L::L::Entry: Use L::Collect in create to cache the dsc file
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/debian/changelog b/debian/changelog
index 9ac1b02..e925cd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -160,6 +160,9 @@ lintian (2.5.11) UNRELEASED; urgency=low
+ [NT] Always use Dpkg::Vendor to determine the default
vendor. Previously dpkg-vendor would be preferred if
available.
+ * lib/Lintian/Lab/Entry.pm:
+ + [NT] Use the L::Collect during creation instead of
+ manually reading the dsc for source packages.
* lib/Lintian/Path.pm:
+ [NT] Always resolve hardlinks relative to the package
root.
diff --git a/lib/Lintian/Lab/Entry.pm b/lib/Lintian/Lab/Entry.pm
index 3bf0590..7a59c13 100644
--- a/lib/Lintian/Lab/Entry.pm
+++ b/lib/Lintian/Lab/Entry.pm
@@ -292,9 +292,8 @@ sub create {
# If it is a source package, pull in all the related files
# - else unpacked will fail or we would need a separate
# collection for the symlinking.
- my $data = get_dsc_info($pkg_path);
my (undef, $dir, undef) = File::Spec->splitpath($pkg_path);
- for my $fs (split(m/\n/o,$data->{'files'})) {
+ for my $fs (split(m/\n/o, $self->info->field ('files'))) {
$fs =~ s/^\s*//o;
next if $fs eq '';
my @t = split(/\s+/o,$fs);
--
Debian package checker
Reply to: