Run of lintian-fixes for haskell-persistent

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

debcheckout haskell-persistent
cd haskell-persistent
DEB_UPDATE_CHANGELOG=auto lintian-brush

Merge these changes:

Summary

Diff

diff --git a/p/haskell-persistent/debian/changelog b/p/haskell-persistent/debian/changelog
index acbe82f304..0802bb2052 100644
--- a/p/haskell-persistent/debian/changelog
+++ b/p/haskell-persistent/debian/changelog
@@ -1,3 +1,12 @@
+haskell-persistent (2.10.5.2-2) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Set upstream metadata fields: Archive, Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update standards version to 4.5.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 16 Jun 2021 09:17:39 -0000
+
 haskell-persistent (2.10.5.2-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/p/haskell-persistent/debian/control b/p/haskell-persistent/debian/control
index 1513abe3b8..b677766b26 100644
--- a/p/haskell-persistent/debian/control
+++ b/p/haskell-persistent/debian/control
@@ -70,7 +70,7 @@ Build-Depends-Indep: ghc-doc,
  libghc-unliftio-core-doc,
  libghc-unordered-containers-doc,
  libghc-vector-doc,
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Homepage: http://www.yesodweb.com/book/persistent
 Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-persistent
 Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-persistent]
diff --git a/p/haskell-persistent/debian/upstream/metadata b/p/haskell-persistent/debian/upstream/metadata
new file mode 100644
index 0000000000..492dd2740f
--- /dev/null
+++ b/p/haskell-persistent/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Archive: Hackage
+Bug-Database: https://github.com/yesodweb/persistent/issues
+Bug-Submit: https://github.com/yesodweb/persistent/issues/new
+Repository: https://github.com/yesodweb/persistent.git
+Repository-Browse: https://github.com/yesodweb/persistent
diff --git a/p/haskell-persistent/debian/watch b/p/haskell-persistent/debian/watch
index f15e43d030..17df87bb29 100644
--- a/p/haskell-persistent/debian/watch
+++ b/p/haskell-persistent/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://hackage.haskell.org/package/persistent/distro-monitor .*-([0-9\.]+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

Resulting package

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

apt install -t unstable libghc-persistent-dev
apt install -t unstable libghc-persistent-doc
apt install -t unstable libghc-persistent-prof

Lintian Result

Full worker log Full build log