Lintian Fixes - libxml2

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2020-04-10 12:53:33 +0000
+++ b/debian/changelog	2020-04-28 07:26:43 +0000
@@ -1,3 +1,12 @@
+libxml2 (2.9.10+dfsg-6) UNRELEASED; urgency=medium
+
+  * Use correct machine-readable copyright file URI.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 28 Apr 2020 07:25:00 +0000
+
 libxml2 (2.9.10+dfsg-5) unstable; urgency=medium
 
   * Team upload.

=== modified file 'debian/copyright'
--- a/debian/copyright	2019-11-19 11:20:25 +0000
+++ b/debian/copyright	2020-04-28 07:25:22 +0000
@@ -1,4 +1,4 @@
-Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: libxml2
 Source: ftp://xmlsoft.org/libxml2/
 Files-Excluded:

=== modified file 'debian/rules'
--- a/debian/rules	2020-04-10 12:29:00 +0000
+++ b/debian/rules	2020-04-28 07:26:43 +0000
@@ -20,8 +20,7 @@
 export DEB_CFLAGS_MAINT_APPEND = -Wall -O3
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 
 TARGETS := main $(PYVERS) $(PYVERS:%=%-dbg) $(PY3VERS) $(PY3VERS:%=%-dbg)
 

=== 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-04-28 07:26:04 +0000
@@ -0,0 +1,4 @@
+Bug-Database: https://gitlab.gnome.org/gnome/libxml2/issues
+Bug-Submit: https://gitlab.gnome.org/gnome/libxml2/issues/new
+Repository: https://gitlab.gnome.org/gnome/libxml2.git
+Repository-Browse: https://gitlab.gnome.org/gnome/libxml2

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package libxml2

No differences were encountered between the control files of package libxml2-dbgsym

No differences were encountered between the control files of package libxml2-dev

No differences were encountered between the control files of package libxml2-doc

No differences were encountered between the control files of package libxml2-utils

No differences were encountered between the control files of package libxml2-utils-dbgsym

No differences were encountered between the control files of package python-libxml2

No differences were encountered between the control files of package python-libxml2-dbg

No differences were encountered between the control files of package python3-libxml2

No differences were encountered between the control files of package python3-libxml2-dbg

Run locally

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

debcheckout libxml2
cd libxml2
lintian-brush

More details

Full run details