[debhelper-devel] [debhelper] 03/04: dh_gencontrol: Run packages in parallel

Niels Thykier nthykier at moszumanska.debian.org
Sat Jun 24 12:32:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 18c96f94be23653f9f5a4cfd9e37afaed98895c9
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Jun 24 12:30:40 2017 +0000

    dh_gencontrol: Run packages in parallel
    
    Re-indent pending next commit.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 5 +++--
 dh_gencontrol    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ee475c7..6453ced 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,8 +27,9 @@ debhelper (10.5) UNRELEASED; urgency=medium
   * dh_fixperms: Run package updates in parallel if DEB_BUILD_OPTIONS
     permits it.
   * dh_installchangelogs: Ditto.
-  * dh_compress: Ditto
-  * dh_installman: Ditto
+  * dh_compress: Ditto.
+  * dh_installman: Ditto.
+  * dh_genchanges: Ditto.
   * dh_shlibdeps: Avoid calling file(1) on debug symbols.
   * SUPPORT-POLICY: Include new document that describes the current
     support policy of debhelper compat levels.
diff --git a/dh_gencontrol b/dh_gencontrol
index f79a540..0f1a358 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -53,8 +53,8 @@ init(options => {
 	"dpkg-gencontrol-params=s", => \$dh{U_PARAMS},
 });
 
-
-foreach my $package (@{$dh{DOPACKAGES}}) {
+on_pkgs_in_parallel {
+foreach my $package (@_) {
 	my $tmp=tmpdir($package);
 	my $ext=pkgext($package);
 	my $dbgsym_info_dir = "debian/.debhelper/${package}";
@@ -147,6 +147,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	# something odd.
 	reset_perm_and_owner('0644', "${tmp}/DEBIAN/control");
 }
+};
 
 sub read_dbgsym_file {
 	my ($dbgsym_info_file, $dbgsym_info_dir) = @_;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list