Lintian Fixes - pngquant

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 56dd36f..e846a94 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+pngquant (2.12.2-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure URI in Homepage field.
+  * Set debhelper-compat version in Build-Depends.
+  * Set field Upstream-Name in debian/copyright.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 07 Jul 2020 13:17:44 -0000
+
 pngquant (2.12.2-1) unstable; urgency=medium
 
   * New upstream version
@@ -117,4 +128,3 @@ pngquant (1.0-1) unstable; urgency=low
   * Initial Release (Closes: #283960)
 
  -- Nelson A. de Oliveira <naoliv@gmail.com>  Thu,  3 Mar 2005 22:29:03 -0300
-
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 6caa10d..5ceb1cc 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.deb
 Uploaders: Andreas Tille <tille@debian.org>,
 Section: graphics
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 11),
                libimagequant-dev,
                libpng-dev,
                zlib1g-dev,
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 11~),
 Standards-Version: 4.2.1
 Vcs-Browser: https://salsa.debian.org/debian-phototools-team/pngquant
 Vcs-Git: https://salsa.debian.org/debian-phototools-team/pngquant.git
-Homepage: http://pngquant.org/
+Homepage: https://pngquant.org/
 
 Package: pngquant
 Architecture: any
diff --git a/debian/copyright b/debian/copyright
index 48ec28e..422d2fe 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Contact: Kornel Lesiński <kornel@pngquant.org>
 Source: https://github.com/pornel/pngquant/releases
+Upstream-Name: pngquant
 
 Files: *
 Copyright: © 1997-2002 Greg Roelofs <newt@pobox.com>
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5d06524
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/kornelski/pngquant/issues
+Bug-Submit: https://github.com/kornelski/pngquant/issues/new
+Repository: https://github.com/kornelski/pngquant.git
+Repository-Browse: https://github.com/kornelski/pngquant

Run locally

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

debcheckout pngquant
cd pngquant
lintian-brush

More details

Full run details