Lintian Fixes - libnumbertext

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 5a8e536..253b07a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 libnumbertext (1.0.11-2) UNRELEASED; urgency=medium
 
+  [ Rene Engelhard ]
   * run new upstream toplevel make check and add autopkgtest doing what it
     does
 
+  [ Debian Janitor ]
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Add debian/watch file, using github.
+
  -- Rene Engelhard <rene@debian.org>  Tue, 15 Nov 2022 19:19:11 +0100
 
 libnumbertext (1.0.11-1) unstable; urgency=medium
@@ -56,7 +62,7 @@ libnumbertext (1.0.5-3) unstable; urgency=medium
 
 libnumbertext (1.0.5-2) unstable; urgency=medium
 
-  * build using python3 (closes: #936896) 
+  * build using python3 (closes: #936896)
 
  -- Rene Engelhard <rene@debian.org>  Mon, 02 Sep 2019 18:52:22 +0000
 
@@ -101,7 +107,7 @@ libnumbertext (1.0~beta2-3) experimental; urgency=medium
   * debian/tests/control: more tests (libnumbertext-java and 99 fr vs. fr_BE).
     echo the failure message to stderr
   * debian/patches/java-encoding.diff: add -encoding utf8
- 
+
  -- Rene Engelhard <rene@debian.org>  Sat, 12 May 2018 22:39:29 +0000
 
 libnumbertext (1.0~beta2-2) experimental; urgency=medium
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 72824a7..acd706c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libnumbertext
 Priority: optional
 Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
 Uploaders: Rene Engelhard <rene@debian.org>
-Build-Depends: debhelper (>= 10), default-jdk, python3, zip, maven-repo-helper
+Build-Depends: debhelper-compat (= 13), default-jdk, python3, zip, maven-repo-helper
 Standards-Version: 4.1.2
 Section: libs
 Homepage: https://numbertext.github.io/
diff --git a/debian/rules b/debian/rules
index 970945b..003985b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,4 +39,3 @@ override_dh_auto_clean:
 	rm -rf test/testSubDir
 	mh_clean
 	dh_auto_clean
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..cd86bc6
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Numbertext/libnumbertext/issues
+Bug-Submit: https://github.com/Numbertext/libnumbertext/issues/new
+Repository: https://github.com/Numbertext/libnumbertext.git
+Repository-Browse: https://github.com/Numbertext/libnumbertext
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..482b803
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/(\d\S+)\.tar\.gz/libnumbertext-$1\.tar\.gz/ https://github.com/Numbertext/libnumbertext/tags .*\/(\d\S+)\.tar\.gz

Run locally

More details

Full run details

Historical runs