Lintian Fixes - cpio

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2017-11-28 10:46:14 +0000
+++ b/debian/changelog	2020-05-07 18:25:29 +0000
@@ -1,3 +1,11 @@
+cpio (2.12+dfsg-6) UNRELEASED; urgency=medium
+
+  * Set upstream metadata fields: Bug-Submit (from ./configure), Name
+    (from ./configure).
+  * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 07 May 2020 18:24:36 +0000
+
 cpio (2.12+dfsg-5) experimental; urgency=medium
 
   * debian/rules:

=== modified file 'debian/rules'
--- a/debian/rules	2017-11-28 10:44:37 +0000
+++ b/debian/rules	2020-05-07 18:25:29 +0000
@@ -11,8 +11,7 @@
 INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
 INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
 
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/dpkg/architecture.mk
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 STRIP = $(DEB_HOST_GNU_TYPE)-strip

=== 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-05-07 18:24:52 +0000
@@ -0,0 +1,3 @@
+---
+Name: GNU cpio
+Bug-Submit: bug-cpio@gnu.org

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package cpio

No differences were encountered between the control files of package cpio-win32

Run locally

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

debcheckout cpio
cd cpio
lintian-brush

More details

Full run details