Lintian Fixes - gcc-defaults-mipsen

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 2bda6de..e53d41c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,17 @@
 gcc-defaults (1.193) UNRELEASED; urgency=medium
 
+  [ Matthias Klose ]
   * Also don't build the gccgo-doc package when not building gccgo.
     LP: #1562598.
   * d/rules: Factor-out mips* architectures into macros (Yunqiang Su).
   * Bump GCC 10 version to 10.3.0.
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Use ?= for assignments to architecture variables.
+  * Fix day-of-week for changelog entry 1.84.
+  * Remove empty maintainer scripts: g77-doc (prerm)
+
  -- Matthias Klose <doko@debian.org>  Wed, 07 Apr 2021 11:31:50 +0200
 
 gcc-defaults (1.192) experimental; urgency=medium
@@ -376,7 +383,7 @@ gcc-defaults (1.135) unstable; urgency=medium
 gcc-defaults (1.134) unstable; urgency=medium
 
   [ Aurelien Jarno ]
-  * Don't build libphobos-dev on kfreebsd-amd64 and kfreebsd-i386 as 
+  * Don't build libphobos-dev on kfreebsd-amd64 and kfreebsd-i386 as
     libphobos-4.9-dev is not built on these architectures. Closes: #761277.
 
   [ Matthias Klose ]
@@ -636,7 +643,7 @@ gcc-defaults (1.108) unstable; urgency=low
   * debian/rules: Remove duplicate code.
   * Fix libgcj.pc symlink for multiarch builds.
   * Fix upgrade path (/usr/include/asm must be a symlink). Closes: #638418.
-  
+
   [ Aurelien Jarno ]
   * Add support for s390x.
 
@@ -856,7 +863,7 @@ gcc-defaults (1.84) unstable; urgency=low
     gcj-4.1. Closes: #396583.
   * Update Debian README. Closes: #498950.
 
- -- Matthias Klose <doko@debian.org>  Sun, 18 May 2009 22:12:18 +0200
+ -- Matthias Klose <doko@debian.org>  Mon, 18 May 2009 22:12:18 +0200
 
 gcc-defaults (1.83) unstable; urgency=low
 
@@ -953,7 +960,7 @@ gcc-defaults (1.71) unstable; urgency=high
   * Remove jv-scan symlink. Closes: #477548.
   * Make ObjC, Obj-C++ 4.3 the default on armel.
   * Use /emul/... for amd64 biarch only.
- 
+
  -- Matthias Klose <doko@debian.org>  Fri, 09 May 2008 00:39:11 +0200
 
 gcc-defaults (1.70) unstable; urgency=low
@@ -1276,7 +1283,7 @@ gcc-defaults (1.37) unstable; urgency=medium
   * gcj: Add a /usr/share/java/libgcj.jar symlink.
 
  -- Matthias Klose <doko@debian.org>  Tue,  4 Jul 2006 23:52:43 +0200
-	
+
 gcc-defaults (1.36) unstable; urgency=medium
 
   * Make gcc-4.1 the default C compiler, g++-4.1 the default C++ compiler,
diff --git a/debian/g77-doc.prerm b/debian/g77-doc.prerm
deleted file mode 100644
index 953c783..0000000
--- a/debian/g77-doc.prerm
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/sh -e
-
-# this is an empty script needed for the upgrade from earlier
-# versions calling install-info
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/rules b/debian/rules
index ea0efc9..48b207c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -179,7 +179,7 @@ REL_NO_1101	:= $(shell expr $(VMINOR) - 191)$(REL_EXT)
 
 # minimum required gcc-X.Y versions
 REQV_295	:= (>= 1:2.95.4-16)
-REQV_296	:= 
+REQV_296	:=
 REQV_30		:= (>= 1:3.0.4-12)
 REQV_32		:= (>= 1:3.2.3-1)
 REQV_33		:= (>= 1:3.3.6-1)
@@ -204,13 +204,13 @@ REQV_10		:= (>= 10.3.0-1~)
 REQV_11		:= (>= 11-20210116-0~)
 
 # architecture dependent variables
-DEB_HOST_ARCH		:= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE	:= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_ARCH		?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 ifneq (,$(filter $(DEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386))
   DEB_HOST_GNU_TYPE := $(subst i586,i686,$(DEB_HOST_GNU_TYPE))
   i586_symlinks = yes
 endif
-DEB_HOST_MULTIARCH	:= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_MULTIARCH	?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 all_archs_mips = mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el
 all_archs  = alpha amd64 armel armhf arm64 hppa i386 ia64 m68k or1k powerpc powerpcspe ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386 \
@@ -858,7 +858,7 @@ ifeq ($(with_native),yes)
 	  /usr/share/doc/gcc-$(PV_GCC)-base/libgomp.html /usr/share/doc/gcc-doc/libgomp.html \
 	  /usr/share/info/gcc-$(PV_GCC).info.gz /usr/share/info/gcc.info.gz \
 	  /usr/share/info/gccint-$(PV_GCC).info.gz /usr/share/info/gccint.info.gz \
-	  /usr/share/info/libgomp-$(PV_GCC).info.gz /usr/share/info/libgomp.info.gz 
+	  /usr/share/info/libgomp-$(PV_GCC).info.gz /usr/share/info/libgomp.info.gz
   endif
 
 ifeq ($(with_multiarch_lib),yes)

Debdiff

Debdiff is too long (more than 200 lines). Download the raw debdiff.

Run locally

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

debcheckout gcc-defaults-mipsen
cd gcc-defaults-mipsen
lintian-brush

More details

Full run details