Lintian Fixes - r-cran-commonmark

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 22f139a..fbc5837 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+r-cran-commonmark (1.7-2) UNRELEASED; urgency=low
+
+  * Rename obsolete path debian/tests/control.autodep8 to debian/tests/control.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Archive, Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 17 Jul 2020 18:37:13 -0000
+
 r-cran-commonmark (1.7-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index fdb8e14..db72365 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Andreas Tille <tille@debian.org>
 Section: gnu-r
 Testsuite: autopkgtest-pkg-r
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                dh-r,
                r-base-dev
 Standards-Version: 4.2.1
diff --git a/debian/tests/control.autodep8 b/debian/tests/control
similarity index 100%
rename from debian/tests/control.autodep8
rename to debian/tests/control
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..79ad297
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Archive: CRAN
+Bug-Database: http://github.com/jeroen/commonmark/issues
+Bug-Submit: https://github.com/jeroen/commonmark/issues/new
+Repository: https://github.com/jeroen/commonmark.git
+Repository-Browse: https://github.com/jeroen/commonmark

Run locally

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

debcheckout r-cran-commonmark
cd r-cran-commonmark
lintian-brush

More details

Full run details