Lintian Fixes - foreign

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2020-05-28 17:03:25 +0000
+++ b/debian/changelog	2020-07-02 09:33:18 +0000
@@ -1,3 +1,12 @@
+foreign (0.8.80-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Archive, Bug-Database, Name, Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 02 Jul 2020 09:30:03 -0000
+
 foreign (0.8.80-1) unstable; urgency=medium
 
   * New upstream release
@@ -21,9 +30,9 @@
 foreign (0.8.76-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
 
  -- Dirk Eddelbuettel <edd@debian.org>  Thu, 05 Mar 2020 12:54:46 -0600
 
@@ -48,28 +57,28 @@
 foreign (0.8.73-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
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Dec 2019 19:39:03 -0600
 
 foreign (0.8.72-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
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sun, 04 Aug 2019 13:10:44 -0500
 
 foreign (0.8.71-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: Restore Depends: on ${R:Depends}
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Jul 2018 08:01:47 -0500
@@ -89,7 +98,7 @@
   * 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 Vcs-Browser: and Vcs-Git:
   * debian/compat: Increase level to 9
   * debian/control: Switch from cdbs to dh-r
@@ -116,16 +125,16 @@
 
   * New upstream release
 
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 04 Oct 2016 19:04:31 -0500
 
 foreign (0.8.66-2) unstable; urgency=medium
 
   * debian/compat: Created 			(Closes: #828111)
- 
+
   * 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>  Sat, 25 Jun 2016 07:10:48 -0500
 
@@ -133,7 +142,7 @@
 
   * 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>  Wed, 19 Aug 2015 16:50:57 -0500
 
@@ -146,8 +155,8 @@
 foreign (0.8.64-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>  Sun, 28 Jun 2015 09:06:55 -0500
 
@@ -161,7 +170,7 @@
 
   * 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>  Wed, 07 Jan 2015 06:39:49 -0600
 
@@ -174,8 +183,8 @@
 foreign (0.8.60-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>  Mon, 24 Mar 2014 06:37:56 -0500
 
@@ -195,7 +204,7 @@
 
   * New upstream release
 
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 29 Oct 2013 12:31:14 -0500
 
@@ -203,7 +212,7 @@
 
   * 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>  Mon, 07 Oct 2013 06:30:19 -0500
 
@@ -217,14 +226,14 @@
 
   * 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>  Sun, 19 May 2013 09:19:13 -0500
 
 foreign (0.8.53-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>  Mon, 25 Mar 2013 21:17:03 -0500
@@ -250,7 +259,7 @@
   * 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>  Mon, 08 Oct 2012 06:50:34 -0500
 
@@ -260,7 +269,7 @@
 
   * 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>  Wed, 23 May 2012 07:16:41 -0500
 
@@ -279,9 +288,9 @@
 foreign (0.8.47-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>  Sat, 12 Nov 2011 13:08:23 -0600
 
@@ -294,7 +303,7 @@
 foreign (0.8.45-1) unstable; urgency=low
 
   * New upstream release
-  
+
   * debian/control: Set (Build-)Depends: to current R version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sat, 23 Jul 2011 13:06:11 -0500
@@ -302,7 +311,7 @@
 foreign (0.8.44-1) unstable; urgency=low
 
   * New upstream release
-  
+
   * debian/control: Set (Build-)Depends: to current R version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Wed, 13 Apr 2011 18:06:53 -0500
@@ -320,7 +329,7 @@
   * 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>  Sat, 25 Sep 2010 12:40:59 -0500
 
@@ -328,7 +337,7 @@
 
   * New upstream release
 
-  * debian/control: Set Standards-Version: to current version 
+  * debian/control: Set Standards-Version: to current version
 
  -- Dirk Eddelbuettel <edd@debian.org>  Sat, 03 Apr 2010 08:24:44 -0500
 
@@ -353,8 +362,8 @@
   * 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, 07 Oct 2009 13:55:09 -0500
 
 foreign (0.8.37-1) unstable; urgency=low
@@ -362,8 +371,8 @@
   * 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>  Thu, 13 Aug 2009 12:12:04 -0500
 
 foreign (0.8.36-1) unstable; urgency=low
@@ -375,9 +384,9 @@
 foreign (0.8.35-1) unstable; urgency=low
 
   * New upstream release
-  
+
   * debian/control: Changed Section: to new section 'gnu-r'
-  
+
   * debian/control: Set (Build-)Depends: to current R version
   * debian/control: Set Standards-Version: to current version 3.8.1
 
@@ -468,9 +477,9 @@
 
   * New upstream release for R 2.6.0			(Closes: #443015)
 
-  * Built with R 2.6.0 release candidate, setting (Build-)Depends: to 
+  * Built with R 2.6.0 release candidate, setting (Build-)Depends: to
     'r-base-(core|dev) >> 2.5.1' to prevent move to testing before R 2.6.0
-  
+
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 18 Sep 2007 06:24:21 -0500
 
 foreign (0.8.20-1) unstable; urgency=low
@@ -478,37 +487,37 @@
   * New upstream release
 
   * debian/control: Updated (Build-)Depensd to r-base-core (>= 2.5.0)
-  
+
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 24 Apr 2007 22:20:19 -0500
 
 foreign (0.8.18-1) unstable; urgency=low
 
   * New upstream release
-  
-  * debian/control: Upgraded (Build-)Depends: to 'r-base-dev (>= 2.4.0)' 
+
+  * debian/control: Upgraded (Build-)Depends: to 'r-base-dev (>= 2.4.0)'
 
  -- Dirk Eddelbuettel <edd@debian.org>  Thu, 30 Nov 2006 20:57:48 -0600
 
 foreign (0.8.17-1) unstable; urgency=low
 
-  * New upstream release for the upcoming R 2.4.0 release, built using 
+  * New upstream release for the upcoming R 2.4.0 release, built using
     the R 2.4.0 releases candidate
-  * debian/control: Upgraded Build-Depends: to 'r-base-dev (>> 2.3.1)' 
+  * debian/control: Upgraded Build-Depends: to 'r-base-dev (>> 2.3.1)'
     and Depends: to 'r-base-core (>> 2.3.1)' accordingly
 
-  * debian/rules: Simplified to cdbs-based one-liner sourcing r-cran.mk 
+  * debian/rules: Simplified to cdbs-based one-liner sourcing r-cran.mk
     (but overriding the default library location as this package is part
      of the r-recommended bundle which install into /usr/lib/R/library)
 
   * debian/overrides: Added to silence lintian on two minor issues
-  
+
  -- Dirk Eddelbuettel <edd@debian.org>  Wed, 20 Sep 2006 23:06:43 -0500
 
 foreign (0.8.15-1) unstable; urgency=low
 
-  * New upstream release corresponding to R 2.3.0 
-  
-  * debian/control: Updated Build{,-Depends}: to r-base-core (>> 2.2.1) 
+  * New upstream release corresponding to R 2.3.0
+
+  * debian/control: Updated Build{,-Depends}: to r-base-core (>> 2.2.1)
 
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 18 Apr 2006 21:30:15 -0500
 
@@ -523,7 +532,7 @@
 
   * New upstream release
 
-  * debian/watch: Corrected regular expression 
+  * debian/watch: Corrected regular expression
   * debian/post{inst,rm}: No longer call R to update html index
 
  -- Dirk Eddelbuettel <edd@debian.org>  Fri,  9 Dec 2005 21:44:18 -0600
@@ -603,8 +612,8 @@
   * debian/control: Updated Build-Depends: and Depends: accordingly
   * debian/rules: Rewritten to allow running of 'R CMD check'
 
-  * debian/watch: Added watch file 
-  
+  * debian/watch: Added watch file
+
  -- Dirk Eddelbuettel <edd@debian.org>  Thu,  7 Oct 2004 20:41:26 -0500
 
 foreign (0.7-1) unstable; urgency=low
@@ -632,7 +641,7 @@
 
   * New upstream release
   * debian/post{inst,rm}: Call build-help.pl to update package.html list
-  
+
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 25 May 2004 21:53:30 -0500
 
 foreign (0.6.8-1) unstable; urgency=low
@@ -660,5 +669,3 @@
     the r-recommended package built from the maine r-base source package.
 
  -- Dirk Eddelbuettel <edd@debian.org>  Tue, 27 Jan 2004 20:55:28 -0600
-
-

=== removed file 'debian/compat'
--- a/debian/compat	2018-04-24 16:00:41 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-9

=== modified file 'debian/control'
--- a/debian/control	2020-04-26 20:50:43 +0000
+++ b/debian/control	2020-07-02 09:32:22 +0000
@@ -2,7 +2,7 @@
 Section: gnu-r
 Priority: optional
 Maintainer: Dirk Eddelbuettel <edd@debian.org>
-Build-Depends: debhelper (>= 10), r-base-dev (>= 4.0.0), dh-r
+Build-Depends: debhelper-compat (= 12), r-base-dev (>= 4.0.0), dh-r
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/edd/r-cran-foreign
 Vcs-Git: https://salsa.debian.org/edd/r-cran-foreign.git
@@ -13,9 +13,8 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${R:Depends}
 Replaces: r-recommended (<< 1.9.0)
 Description: GNU R package to read/write data from other stat. systems
- This package provides functions for reading and writing data stored by 
+ This package provides functions for reading and writing data stored by
  statistical packages such as Minitab, S, SAS, SPSS, Stata, ...
  .
- This package is part of the set of packages that are 'recommended' 
+ This package is part of the set of packages that are 'recommended'
  by R Core and shipped with upstream source releases of R itself.
-

=== modified file 'debian/rules'
--- a/debian/rules	2018-04-24 16:00:41 +0000
+++ b/debian/rules	2020-07-02 09:30:27 +0000
@@ -5,4 +5,3 @@
 
 %:
 	dh $@ --buildsystem R
-

=== added directory 'debian/upstream'
=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2020-07-02 09:33:18 +0000
@@ -0,0 +1,5 @@
+---
+Name: foreign
+Archive: CRAN
+Bug-Database: https://bugs.r-project.org
+Repository: https://svn.r-project.org/R-packages/trunk/foreign

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/6e/1565996f6583bb231c952bb8cb2a0da9593c06.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/63/b75bf5348662de388f4a6825ec021b8fdf12b6.debug

No differences were encountered between the control files of package r-cran-foreign

Control files of package r-cran-foreign-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 63b75bf5348662de388f4a6825ec021b8fdf12b6 6e1565996f6583bb231c952bb8cb2a0da9593c06

Run locally

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

debcheckout foreign
cd foreign
lintian-brush

More details

Full run details