[SCM] Debian package checker branch, master, updated. 2.1.2-10-g5a7f430
The following commit has been merged in the master branch:
commit 5a7f43072c1576ca63190bb82af3378976f1f02b
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Sat Dec 27 19:22:47 2008 +0000
Redirect the output of unpack/list-*pkg to the main process's stdout.
* lib/Lab.pm:
+ Ensure that the output of unpack/list-*pkg is correctly captured
so that the reporting harness can use the information to decide which
packages to process in an incremental run.
diff --git a/debian/changelog b/debian/changelog
index a7e6f7d..d70f1fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,11 @@ lintian (2.1.3) UNRELEASED; urgency=low
check them against the correct set of distributions. Based on a
patch by Adrien Cunin. (Closes: #507740)
+ * lib/Lab.pm:
+ + [ADB] Ensure that the output of unpack/list-*pkg is correctly captured
+ so that the reporting harness can use the information to decide which
+ packages to process in an incremental run.
+
* lib/Lintian/Data.pm:
+ [RA] New all() method that returns all valid keywords.
diff --git a/lib/Lab.pm b/lib/Lab.pm
index c522782..8678f00 100644
--- a/lib/Lab.pm
+++ b/lib/Lab.pm
@@ -141,14 +141,14 @@ sub populate_with_dist {
debug_msg(2, "spawning list-binpkg, list-udebpkg and list-srcpkg since LINTIAN_DIST=$dist");
my $v = $Lintian::Output::GLOBAL->verbose ? '-v' : '';
-
- spawn(undef, ["$LINTIAN_ROOT/unpack/list-binpkg",
+ my %opts = ( out => $Lintian::Output::GLOBAL->stdout );
+ spawn(\%opts, ["$LINTIAN_ROOT/unpack/list-binpkg",
"$self->{dir}/info/binary-packages", $v])
or fail("cannot create binary package list");
- spawn(undef, ["$LINTIAN_ROOT/unpack/list-srcpkg",
+ spawn(\%opts, ["$LINTIAN_ROOT/unpack/list-srcpkg",
"$self->{dir}/info/source-packages", $v])
or fail("cannot create source package list");
- spawn(undef, ["$LINTIAN_ROOT/unpack/list-udebpkg",
+ spawn(\%opts, ["$LINTIAN_ROOT/unpack/list-udebpkg",
"$self->{dir}/info/udeb-packages", $v])
or fail("cannot create udeb package list");
--
Debian package checker
Reply to: