Lintian Fixes - ucimf-sunpinyin
Ready changes
Summary
- Set debhelper-compat version in Build-Depends. ( uses-debhelper-compat-file )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-bug-tracking )
- debian/watch: Use GitHub /tags rather than /releases page.
- Avoid explicitly specifying -Wl,--as-needed linker flag. ( debian-rules-uses-as-needed-linker-flag )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index bdb88d9..8d87928 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ucimf-sunpinyin (0.5-2) UNRELEASED; urgency=medium
+
+ * Set debhelper-compat version in Build-Depends.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * debian/watch: Use GitHub /tags rather than /releases page.
+ * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk> Sun, 02 Oct 2022 14:15:50 -0000
+
ucimf-sunpinyin (0.5-1) unstable; urgency=medium
* Team upload.
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 7a02eb0..1b8e1a1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Uploaders:
Aron Xu <aron@debian.org>,
Build-Depends:
- debhelper (>= 11),
+ debhelper-compat (= 11),
libsunpinyin-dev,
libucimf-dev,
pkg-config,
diff --git a/debian/rules b/debian/rules
index a4fbe80..72cd6ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,6 @@
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..3b88884
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/matlinuxer2/ucimf/issues
+Bug-Submit: https://github.com/matlinuxer2/ucimf/issues/new
+Repository-Browse: https://github.com/matlinuxer2/ucimf
diff --git a/debian/watch b/debian/watch
index 600a87a..e11c1bd 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=4
-https://github.com/matlinuxer2/ucimf/releases (?:.*?/)?ucimf\-sunpinyin\-(\d[\d.]*)\.tar\.gz debian uupdate
+https://github.com/matlinuxer2/ucimf/tags (?:.*?/)?ucimf\-sunpinyin\-(\d[\d.]*)\.tar\.gz debian uupdate
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/debug/.build-id/aa/5f51c69f8a369083f1af1ae5e948133df28561.debug
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/debug/.build-id/01/ed5ee391b5a2fff0b317292d38562ddf221b34.debug
No differences were encountered between the control files of package ucimf-sunpinyin
Control files of package ucimf-sunpinyin-dbgsym: lines which differ (wdiff format)
Build-Ids: 01ed5ee391b5a2fff0b317292d38562ddf221b34 aa5f51c69f8a369083f1af1ae5e948133df28561