[debhelper-devel] [debhelper] 01/01: dh_gencontrol: Remove homepage field in dbgsym pkgs

Niels Thykier nthykier at moszumanska.debian.org
Sat Apr 29 13:13:53 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 6553b0e5d7df92b4d6b62153df4f8c98b69a1fba
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Apr 29 13:11:46 2017 +0000

    dh_gencontrol: Remove homepage field in dbgsym pkgs
    
    It is redundant (the original package also has it) plus it can cause
    non-overridable lintian warnings.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 3 +++
 dh_gencontrol    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 501fe83..938f2c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,9 @@ debhelper (10.3) UNRELEASED; urgency=medium
   * dh_installdocs: Document that --link-doc has limitations on source and
     target package plus that compat 10 will reject unsupported
     combinations.
+  * dh_gencontrol: Avoid adding Homepage fields to dbgsym packages.  Avoids
+    non-overridable warnings from lintian when there is an issue in the
+    homepage field of the original binary.  (Closes: #812248)
 
   [ Steven Chamberlain ]
   * When cross-compiling for GNU/kFreeBSD host systems, set
diff --git a/dh_gencontrol b/dh_gencontrol
index 17c010b..f79a540 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -98,7 +98,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		# Remove and override more or less every standard field.
 		my @dbgsym_options = (qw(
 			-UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential
-			-UConflicts -DPriority=extra
+			-UConflicts -DPriority=extra -UHomepage
 			-DAuto-Built-Package=debug-symbols
 			),
 			 "-DPackage=${package}-dbgsym",

-- 
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