Run of lintian-fixes for c2hs

Merge these changes:

git pull https://janitor.debian.net/git/c2hs lintian-fixes/main
Full worker log

Summary

Diff

diff --git a/p/c2hs/debian/c2hs.lintian-overrides b/p/c2hs/debian/c2hs.lintian-overrides
index 25d3d4c311..e4a0c15616 100644
--- a/p/c2hs/debian/c2hs.lintian-overrides
+++ b/p/c2hs/debian/c2hs.lintian-overrides
@@ -1 +1 @@
-binary-or-shlib-defines-rpath
+custom-library-search-path
diff --git a/p/c2hs/debian/changelog b/p/c2hs/debian/changelog
index 86e071cbd5..60b97987d2 100644
--- a/p/c2hs/debian/changelog
+++ b/p/c2hs/debian/changelog
@@ -1,7 +1,18 @@
 c2hs (0.28.8-2) UNRELEASED; urgency=medium
 
+  [ Ilias Tsitsimpis ]
   * Declare compliance with Debian policy 4.6.1
 
+  [ Debian Janitor ]
+  * Update watch file format version to 4.
+  * Use secure URI in Homepage field.
+  * Update renamed lintian tag names in lintian overrides.
+  * Set upstream metadata fields: Archive, Bug-Database, Bug-Submit,
+    Repository-Browse.
+  * Remove unused license definitions for GPL-2+.
+  * Refer to specific version of license LGPL-2+.
+  * Update standards version to 4.6.2, no changes needed.
+
  -- Ilias Tsitsimpis <iliastsi@debian.org>  Tue, 28 Jun 2022 15:31:58 +0300
 
 c2hs (0.28.8-1) unstable; urgency=medium
diff --git a/p/c2hs/debian/control b/p/c2hs/debian/control
index 0fc325962d..ae83b223a1 100644
--- a/p/c2hs/debian/control
+++ b/p/c2hs/debian/control
@@ -21,8 +21,8 @@ Build-Depends:
  libghc-language-c-prof,
  libxml2-utils,
  xsltproc,
-Standards-Version: 4.6.1
-Homepage: http://hackage.haskell.org/package/c2hs
+Standards-Version: 4.6.2
+Homepage: https://hackage.haskell.org/package/c2hs
 Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/c2hs
 Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/c2hs]
 
diff --git a/p/c2hs/debian/copyright b/p/c2hs/debian/copyright
index a3d1cf4c81..97a2c05772 100644
--- a/p/c2hs/debian/copyright
+++ b/p/c2hs/debian/copyright
@@ -3,15 +3,6 @@ Upstream-Name: c2hs
 Upstream-Contact: chak@cse.unsw.edu.au, duncan@haskell.org
 Source: https://hackage.haskell.org/packages/archive/c2hs/0.16.0/c2hs-0.16.0.tar.gz
 
-Copyright:
-  1997-2007, Manuel M. T. Chakravarty <chak@cse.unsw.edu.au>
-  2005-2008, Duncan Coutts
-  2008, Benedikt Huber
-License: GPL-2+
-  On Debian systems, the full text of the GNU General Public
-  License version 2 can be found in the file
-  `/usr/share/common-licenses/GPL-2'.
-
 Files: C2HS.hs
 License:
   1. Redistributions of source code must retain the above copyright notice,
@@ -65,7 +56,7 @@ Files:
  src/Text/Lexers.hs
 License: LGPL-2+
  On Debian GNU/Linux systems, the complete text of the GNU Library General
- Public License may be found in `/usr/share/common-licenses/LGPL'.
+ Public License may be found in `/usr/share/common-licenses/LGPL-2'.
 
 Files: debian/*
 Copyright:
diff --git a/p/c2hs/debian/upstream/metadata b/p/c2hs/debian/upstream/metadata
new file mode 100644
index 0000000000..d5d50d0b96
--- /dev/null
+++ b/p/c2hs/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Archive: Hackage
+Bug-Database: https://github.com/haskell/c2hs/issues
+Bug-Submit: https://github.com/haskell/c2hs/issues/new
+Repository-Browse: https://github.com/haskell/c2hs
diff --git a/p/c2hs/debian/watch b/p/c2hs/debian/watch
index 80c89d5cbe..a66612398a 100644
--- a/p/c2hs/debian/watch
+++ b/p/c2hs/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://hackage.haskell.org/package/c2hs/distro-monitor .*-([0-9\.]+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

Debdiff

File lists identical (after any substitutions)

Control files of package c2hs: lines which differ (wdiff format)

  • Homepage: http://hackage.haskell.org/package/c2hs https://hackage.haskell.org/package/c2hs

Control files of package c2hs-doc: lines which differ (wdiff format)

  • Homepage: http://hackage.haskell.org/package/c2hs https://hackage.haskell.org/package/c2hs

Publish History

  • 2023-03-15T19:34: ( Success ) (requested by runner)

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t lintian-fixes c2hs-docapt install -t lintian-fixes c2hs

Lintian Result

Reviews

Reviewer Verdict Comment
jelmer@debian.org approved