Lintian Fixes - rebar

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index bc082b5..c43abd0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+rebar (2.6.4-4) UNRELEASED; urgency=medium
+
+  * Use versioned copyright format URI.
+  * Set debhelper-compat version in Build-Depends.
+  * Remove Section on rebar that duplicates source.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 31 Dec 2020 00:39:58 -0000
+
 rebar (2.6.4-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 48082f7..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-12
diff --git a/debian/control b/debian/control
index 69075b2..a46491d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
 Uploaders: Nobuhiro Iwamatsu <iwamatsu@debian.org>
 Section: devel
 Priority: optional
-Build-Depends: debhelper (>= 12), erlang-dev, erlang-tools, erlang-syntax-tools,
+Build-Depends: debhelper-compat (= 12), erlang-dev, erlang-tools, erlang-syntax-tools,
 	erlang-eunit, erlang-crypto
 Standards-Version: 4.5.0
 Homepage: https://github.com/rebar/rebar
@@ -12,7 +12,6 @@ Vcs-Git: https://salsa.debian.org/erlang-team/packages/rebar.git
 
 Package: rebar
 Architecture: any
-Section: devel
 Priority: optional
 Depends: ${misc:Depends}, ${shlibs:Depends},
 	erlang-base | erlang-base-hipe,
diff --git a/debian/copyright b/debian/copyright
index b7c0b6d..cb25d4e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: Format: http://dep.debian.net/deps/dep5
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Name: rebar
 Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
 Source: https://github.com/rebar/rebar.git

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

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

debcheckout rebar
cd rebar
lintian-brush

More details

Full run details