Run of lintian-fixes for libpinyin

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

debcheckout libpinyin
cd libpinyin
lintian-brush

Merge these changes:

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

Summary

Diff

diff --git a/debian/tests/control b/debian/tests/control
index 70a8923..59e8472 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
-tests: build
 Depends: libpinyin-dev, build-essential, pkg-config
+Tests: build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..4141f48
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Archive: SourceForge
+Bug-Database: https://github.com/libpinyin/libpinyin/issues
+Bug-Submit: https://github.com/libpinyin/libpinyin/issues/new
+Repository: https://github.com/libpinyin/libpinyin.git
+Repository-Browse: https://github.com/libpinyin/libpinyin

Debdiff

File lists identical (after any substitutions)

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

No differences were encountered between the control files of package libpinyin-data

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

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

No differences were encountered between the control files of package libpinyin13

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

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

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

No differences were encountered between the control files of package libzhuyin13

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

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 libpinyin-common-dev
apt install -t lintian-fixes libpinyin-data
apt install -t lintian-fixes libpinyin-utils-dbgsym
apt install -t lintian-fixes libpinyin-utils
apt install -t lintian-fixes libpinyin13-dbgsym
apt install -t lintian-fixes libpinyin13-dev
apt install -t lintian-fixes libpinyin13
apt install -t lintian-fixes libzhuyin-dev
apt install -t lintian-fixes libzhuyin13-dbgsym
apt install -t lintian-fixes libzhuyin13

Lintian Result

Full worker log Full build log