[Reproducible-commits] [debhelper] 06/17: dh_gencontrol: Drop pkg:arch dep in ddebs

Mattia Rizzolo mattia at mapreri.org
Sat Apr 11 11:58:44 UTC 2015


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

mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit a5987f6444bc2bbc636265870a7f95efbf30a222
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Apr 11 09:18:56 2015 +0200

    dh_gencontrol: Drop pkg:arch dep in ddebs
    
    Turns out APT does not support it yet.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_gencontrol | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dh_gencontrol b/dh_gencontrol
index 143281a..d03943a 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -69,7 +69,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	}
 
 	if ( -d $ddeb_tmp) {
-		my $arch = package_arch($package);
 		my $ddeb_filename = ddeb_filename($package);
 		$src_pkg = sourcepackage() if not defined($src_pkg);
 		# Remove and override more or less every standard field.
@@ -79,7 +78,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			-DPriority=extra -DSection=debug -DMulti-Arch=same
 			),
 			 "-DPackage=${package}-dbgsym",
-			 "-DDepends=${package}:${arch} (= \${binary:Version})",
+			 "-DDepends=${package} (= \${binary:Version})",
 			 "-DDescription=Debug symbols for ${package}",
 			 "-DSource=${src_pkg}",
 			 "-n${ddeb_filename}",

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



More information about the Reproducible-commits mailing list