Lintian Fixes - r-cran-getopt

Ready changes

Summary

Failed fixers:

See the worker log for details.

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 6667c5f..8ecf49e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+r-cran-getopt (1.20.3-4) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Bump debhelper from deprecated 9 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Archive, Bug-Database, Bug-Submit, Contact,
+    Name, Repository, Repository-Browse.
+  * Update standards version to 4.6.1, no changes needed.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 22 Oct 2022 20:40:56 -0000
+
 r-cran-getopt (1.20.3-3) unstable; urgency=medium
 
   * Rebuilt for r-4.0 transition
@@ -10,19 +22,19 @@ r-cran-getopt (1.20.3-3) unstable; urgency=medium
 r-cran-getopt (1.20.3-2) unstable; urgency=medium
 
   * Source-only upload
-  
+
   * debian/control: Set Build-Depends: to current R version
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sun, 18 Aug 2019 07:31:56 -0500
 
 r-cran-getopt (1.20.3-1) unstable; urgency=medium
 
   * New upstream release
-  
+
   * debian/control: Set Build-Depends: to current R version
   * debian/control: Set Build-Depends: to 'debhelper (>= 10)'
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
   * debian/control: Add Depends: on ${misc:Depends}
   * debian/control: Add Vcs-Browser: and Vcs-Git:
   * debian/control: Switch from cdbs to dh-r
@@ -35,8 +47,8 @@ r-cran-getopt (1.20.3-1) unstable; urgency=medium
 r-cran-getopt (1.20.2-1) unstable; urgency=medium
 
   * New upstream release
-  
-  * debian/control: Set Standards-Version: to current version 
+
+  * debian/control: Set Standards-Version: to current version
 
   * exec/example.R: Corrected Rscript path
 
@@ -45,9 +57,9 @@ r-cran-getopt (1.20.2-1) unstable; urgency=medium
 r-cran-getopt (1.20.1-1) unstable; urgency=medium
 
   * New upstream release
-  
+
   * debian/control: Set Build-Depends: to current R version
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
   * debian/control: Add ${misc:Depends} to Depends
   * debian/compat: Set level to 9
 
@@ -56,9 +68,9 @@ r-cran-getopt (1.20.1-1) unstable; urgency=medium
 r-cran-getopt (1.20.0-2) unstable; urgency=medium
 
   * debian/compat: Created 			(Closes: #829228)
- 
+
   * debian/control: Set Build-Depends: to current R version
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Fri, 01 Jul 2016 19:27:59 -0500
 
@@ -66,14 +78,14 @@ r-cran-getopt (1.20.0-1) unstable; urgency=low
 
   * New upstream release
 
-  * debian/control: Set Build-Depends: to current R version 
+  * debian/control: Set Build-Depends: to current R version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Fri, 30 Aug 2013 07:26:29 -0500
 
 r-cran-getopt (1.19.1-2) unstable; urgency=low
 
-  * debian/control: Set Build-Depends: to current R version 
-  
+  * debian/control: Set Build-Depends: to current R version
+
   * (Re-)building with R 3.0.0 (beta)
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sat, 30 Mar 2013 17:50:57 -0500
@@ -89,25 +101,25 @@ r-cran-getopt (1.19.1-1) unstable; urgency=low
 r-cran-getopt (1.19.0-1) unstable; urgency=low
 
   * New upstream release
-  
+
   * debian/control: Set Build-Depends: to current R version
   * debian/control: Change Depends to ${R:Depends}
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sun, 18 Nov 2012 14:19:59 -0600
 
 r-cran-getopt (1.17-1) unstable; urgency=low
 
   * New upstream release
-  
+
  -- Dirk Eddelbuettel <edd@debian.org>  Mon, 26 Sep 2011 07:12:29 -0500
 
 r-cran-getopt (1.16-1) unstable; urgency=low
 
   * New upstream release
-  
+
   * debian/control: Set (Build-)Depends: to current R version
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 03 May 2011 20:52:55 -0500
 
@@ -116,7 +128,7 @@ r-cran-getopt (1.15-1) unstable; urgency=low
   * New upstream release
 
   * debian/control: Set (Build-)Depends: to current R version
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Wed, 28 Apr 2010 06:02:11 -0500
 
@@ -125,8 +137,8 @@ r-cran-getopt (1.14-2) unstable; urgency=low
   * Rebuilt for R 2.10.0 to work with new R-internal help file conversion
 
   * debian/control: Set (Build-)Depends: to current R version
-  * debian/control: Set Standards-Version: to current version 
-  
+  * debian/control: Set Standards-Version: to current version
+
   * debian/control: Changed Section: to section 'gnu-r'
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sun, 01 Nov 2009 16:00:18 -0600
@@ -140,8 +152,8 @@ r-cran-getopt (1.14-1) unstable; urgency=low
 r-cran-getopt (1.12-1) unstable; urgency=low
 
   * Initial (local) Debian packaging
-  
-  * R/getopt.R: Added improved littler compatibility expected to be in the next 
+
+  * R/getopt.R: Added improved littler compatibility expected to be in the next
     release of getopt (with thanks to Kurt Hornik for the initial version)
-  
+
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 29 Apr 2008 16:08:30 -0500
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 7650ccd..a23fed0 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: r-cran-getopt
 Section: gnu-r
 Priority: optional
 Maintainer: Dirk Eddelbuettel <edd@debian.org>
-Build-Depends: debhelper (>= 10), r-base-dev (>= 4.0.0), dh-r
-Standards-Version: 4.5.0
+Build-Depends: debhelper-compat (= 13), r-base-dev (>= 4.0.0), dh-r
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/edd/r-cran-getopt
 Vcs-Git: https://salsa.debian.org/edd/r-cran-getopt.git
 Homepage: https://cran.r-project.org/package=getopt
@@ -13,6 +13,5 @@ Architecture: all
 Depends: ${R:Depends}, ${misc:Depends}
 Description: GNU R package providing command-line parsing functionality
  This package provides the getopt function which can be used with R's
- Rscript (or littler's r) to write ``#!'' shebang scripts that accept 
+ Rscript (or littler's r) to write ``#!'' shebang scripts that accept
  short and long flags/options.
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7a1bd58
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,8 @@
+---
+Name: getopt
+Contact: Trevor L Davis <trevor.l.davis@gmail.com>
+Archive: CRAN
+Bug-Database: https://github.com/trevorld/r-getopt/issues
+Bug-Submit: https://github.com/trevorld/r-getopt/issues/new
+Repository: https://github.com/trevorld/r-getopt.git
+Repository-Browse: https://github.com/trevorld/r-getopt

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details