Lintian Fixes - scim-chewing
Ready changes
Summary
- debian/copyright: use spaces rather than tabs to start continuation lines. ( tab-in-license-text )
- Update watch file format version to 4. ( older-debian-watch-file-standard )
- Bump debhelper from old 11 to 13. ( package-uses-old-debhelper-compat-version )
- Set debhelper-compat version in Build-Depends. ( uses-debhelper-compat-file )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-bug-tracking , upstream-metadata-missing-repository )
- Avoid explicitly specifying -Wl,--as-needed linker flag. ( debian-rules-uses-as-needed-linker-flag )
Failed fixers:
See the worker log for details.
Lintian Result
Diff
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 c671132..e138505 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Section: utils
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Uploaders: Andrew Lee (李健秋) <ajqlee@debian.org>,
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 13),
autoconf,
automake,
intltool,
diff --git a/debian/copyright b/debian/copyright
index d802465..0faac4a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,15 +5,15 @@ Source: https://github.com/chewing/scim-chewing
Files: *
Copyright: 2004-2012 Jim Huang <jserv@kaffe.org>
- 2005-2008 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
- 2006-2008 Jeff Chen <wiz.chen@gmail.com>
- 2006-2008 Caius Chance <cchance@redhat.com>
- 2012 Tz-Huan Huang <tzhuan@gmail.com>
+ 2005-2008 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
+ 2006-2008 Jeff Chen <wiz.chen@gmail.com>
+ 2006-2008 Caius Chance <cchance@redhat.com>
+ 2012 Tz-Huan Huang <tzhuan@gmail.com>
License: GPL-2+
Files: debian/*
Copyright: 2004-2015 Andrew Lee (李健秋) <ajqlee@debian.org>
- 2015-2022 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
+ 2015-2022 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
License: GPL-2+
License: GPL-2+
diff --git a/debian/rules b/debian/rules
index 700e2b1..13bbbb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,6 @@
#export DH_VERBOSE=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..fd6f892
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/chewing/scim-chewing/issues
+Bug-Submit: https://github.com/chewing/scim-chewing/issues/new
+Repository: https://github.com/chewing/scim-chewing.git
+Repository-Browse: https://github.com/chewing/scim-chewing
diff --git a/debian/watch b/debian/watch
index a62e2d2..a65974c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
https://github.com/chewing/scim-chewing/releases .*/v(\d\S*).tar.gz