Lintian Fixes - libtool

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/libtool lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2020-03-02 10:04:59 +0000
+++ b/debian/changelog	2020-07-03 07:58:41 +0000
@@ -1,3 +1,14 @@
+libtool (2.4.6-15) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Set upstream metadata fields: Bug-Submit (from ./configure), Name (from
+    ./configure), Repository, Repository-Browse.
+  * Fix broken Vcs URL.
+  * Rely on pre-initialized dpkg-architecture variables.
+  * Remove Section on libtool, Section on libtool-bin that duplicate source.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 03 Jul 2020 07:55:04 -0000
+
 libtool (2.4.6-14) unstable; urgency=medium
 
   * Add Breaks/Replaces on libtool-doc. Closes: #950916
@@ -17,7 +28,7 @@
   [ Helmut Grohe ]
   * Avoid build-dependency cycle with libtool. Closes: #924184
   [ Vagrant Cascadian ]
-  * all ./configure with explicit GREP=/bin/grep and SED=/bin/sed, 
+  * all ./configure with explicit GREP=/bin/grep and SED=/bin/sed,
     to prevent variation when built on a merged /usr system.
     Closes: #949270
   * Remove file-prefix-map/debug-prefix-map arguments from the libtool.1 manpage,
@@ -46,7 +57,7 @@
 
 libtool (2.4.6-10) unstable; urgency=medium
 
-  * 0030-flang-support.patch: Support for Flang Fortran compiler 
+  * 0030-flang-support.patch: Support for Flang Fortran compiler
 
  -- Alastair McKinstry <mckinstry@debian.org>  Mon, 18 Feb 2019 15:53:43 +0000
 
@@ -482,7 +493,7 @@
 libtool (1.5.22-2) unstable; urgency=low
 
   * Remove a "--" line from the generate tag for BINCC.  It
-    resulted in "--: command not found" error.  Thanks to 
+    resulted in "--: command not found" error.  Thanks to
     John V. Belmonte for reporting it and Ralf Wildenhues
     for the fix.  (Closes: #345607)
 
@@ -491,7 +502,7 @@
 libtool (1.5.22-1) unstable; urgency=low
 
   * New upstream release
-    - libtoolize --ltdl now fails if libltdl3-dev is not installed. 
+    - libtoolize --ltdl now fails if libltdl3-dev is not installed.
       (Closes: #344756)
   * Also set link_all_deplibs to no on kfreebsd*-gnu.  Patch from
     Aurelien Jarno <aurel32@debian.org>  (Closes: #341978)
@@ -525,7 +536,7 @@
   * Move ltdl.m4 from libtool to libltdl-dev package, where it belongs.
     Add a conflicts/replaces from libltdl-dev to the libtool package.
   * Remove usr/share/libtool/libltdl from the libtool package
-  * Make the libtool.m4 in /usr/share/libtool a symlink to the one in 
+  * Make the libtool.m4 in /usr/share/libtool a symlink to the one in
     /usr/share/aclocal.
   * libltdl3-dev.preinst: No longer remove the old directory on upgrade.
     libltdl3-dev.preinst does nothing now so remove the file.
@@ -754,4 +765,3 @@
     Closes: #190216, #195278, #192918.
 
  -- Scott James Remnant <scott@netsplit.com>  Sat,  2 Aug 2003 02:08:10 +0100
-

=== modified file 'debian/control'
--- a/debian/control	2020-03-02 09:36:10 +0000
+++ b/debian/control	2020-07-03 07:58:41 +0000
@@ -18,12 +18,11 @@
 Rules-Requires-Root: no
 Homepage: https://www.gnu.org/software/libtool/
 Vcs-Browser: https://salsa.debian.org:/mckinstry/libtool.git
-Vcs-Git: https://salsa.debian.org:/mckinstry/libtool.git
+Vcs-Git: https://salsa.debian.org/mckinstry/libtool.git
 
 Package: libtool
 Architecture: all
 Multi-Arch: foreign
-Section: devel
 Depends: gcc | c-compiler, cpp, libc6-dev | libc-dev,
   file,
   autotools-dev,
@@ -43,7 +42,6 @@
 
 Package: libtool-bin
 Architecture: any
-Section: devel
 Depends: libtool (>= ${source:Version}), ${misc:Depends}
 Replaces: libtool (<< 2.4.2-1.8~)
 Description: Generic library support script (libtool binary)

=== modified file 'debian/rules'
--- a/debian/rules	2020-02-07 15:43:09 +0000
+++ b/debian/rules	2020-07-03 07:57:55 +0000
@@ -2,7 +2,7 @@
 # debian/rules for the Debian GNU Libtool package.
 # Copyright © 2003, 2004 Scott James Remnant <scott@netsplit.com>
 
-# Uncomment this to turn on verbose mode. 
+# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 # In case they are dropped
@@ -17,13 +17,10 @@
 	INSTALL_PROGRAM += -s
 endif
 
-AM_VERSION=$(shell aclocal --version | head -1 | awk '{print $$4}' | cut -d. -f1-2) 
+AM_VERSION=$(shell aclocal --version | head -1 | awk '{print $$4}' | cut -d. -f1-2)
 
 # Build libltdl the right way (tm)
-DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
 	confflags += --build=$(DEB_HOST_GNU_TYPE)
 	make_check = yes
@@ -41,7 +38,7 @@
 #	make_check = no
 #endif
 
-clean: 
+clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp config-stamp
@@ -59,7 +56,7 @@
 	rm -f build-aux/gnupload config-h.in m4/gnulib-cache.m4 m4/gnulib-comp.m4
 	rm -f build-aux/update-copyright m4/gnulib-tool.m4 build-aux/useless-if-before-free
 	rm -f build-aux/announce-gen build-aux/gendocs.sh build-aux/vc-list-files
-	rm -f build-aux/do-release-commit-and-tag build-aux/gnu-web-doc-update 
+	rm -f build-aux/do-release-commit-and-tag build-aux/gnu-web-doc-update
 	rm -f m4/gnulib-common.m4 m4/00gnulib.m4 maint.mk doc/fdl.texi
 	rm -f doc/gendocs_template GNUmakefile
 	# Undo the version change if there is any.

=== added directory 'debian/upstream'
=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2020-07-03 07:56:16 +0000
@@ -0,0 +1,5 @@
+---
+Name: GNU Libtool
+Bug-Submit: bug-libtool@gnu.org
+Repository: https://git.sv.gnu.org/git/libtool.git
+Repository-Browse: https://git.sv.gnu.org/cgit/libtool.git

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package libltdl-dev

No differences were encountered between the control files of package libltdl7

No differences were encountered between the control files of package libltdl7-dbgsym

No differences were encountered between the control files of package libtool

No differences were encountered between the control files of package libtool-bin

No differences were encountered between the control files of package libtool-doc

Run locally

Try this locally (using the lintian-brush package):

debcheckout libtool
cd libtool
lintian-brush

More details

Full run details