Lintian Fixes - binutils-avr

Ready changes

Summary

Failed fixers:

See the worker log for details.

Diff

diff --git a/debian/changelog b/debian/changelog
index bb0fb60a..911cb548 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ binutils-avr (2.26.20160125+Atmel3.6.2-5) UNRELEASED; urgency=medium
       tar.
     + binutils-avr: Drop versioned constraint on binutils in Suggests.
     + binutils-avr: Drop versioned constraint on avr-libc in Breaks.
+  * debian/rules: Use dh_prep rather than "dh_clean -k".
+  * Bump debhelper from deprecated 7 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Remove field Section on binary package binutils-avr that duplicates source.
 
  -- Debian Janitor <janitor@jelmer.uk>  Sat, 19 Nov 2022 04:43:56 -0000
 
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011e..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
index b556c2d4..c9281b3e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,11 @@ Section: devel
 Priority: optional
 Maintainer: Bastian Germann <bage@debian.org>
 Standards-Version: 3.9.5
-Build-Depends: bison, flex, gettext, texinfo, binutils, debhelper (>= 7), bzip2, autotools-dev, dh-autoreconf, zlib1g-dev
+Build-Depends: bison, flex, gettext, texinfo, binutils, debhelper-compat (= 13), bzip2, autotools-dev, dh-autoreconf, zlib1g-dev
 Vcs-Git: https://salsa.debian.org/debian/binutils-avr.git
 Vcs-Browser: https://salsa.debian.org/debian/binutils-avr
 
 Package: binutils-avr
-Section: devel
 Architecture: any
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index e2279409..5bb05df4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,7 +77,7 @@ clean:
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	# Add here commands to install the package into debian/$(PACKAGE).

Run locally

More details

Full run details

Historical runs