Lintian Fixes - libkkc
Ready changes
Summary
- Bump debhelper from old 12 to 13. ( package-uses-old-debhelper-compat-version )
- 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 )
- Drop unnecessary dependency on dh-autoreconf.
- Update standards version to 4.6.2, no changes needed. ( out-of-date-standards-version )
- Avoid explicitly specifying -Wl,--as-needed linker flag. ( debian-rules-uses-as-needed-linker-flag )
Failed fixers:
See the worker log for details.
Diff
diff --git a/debian/control b/debian/control
index acd2e85..6901b83 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Uploaders:
Mitsuya Shibata <mty.shibata@gmail.com>,
Osamu Aoki <osamu@debian.org>,
Build-Depends:
- debhelper-compat (= 12),
+ debhelper-compat (= 13),
gnome-common,
gobject-introspection,
intltool,
@@ -17,7 +17,7 @@ Build-Depends:
python3:any,
python3-marisa,
valac,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
Section: libs
Homepage: https://github.com/ueno/libkkc
Vcs-Browser: https://salsa.debian.org/input-method-team/libkkc
diff --git a/debian/rules b/debian/rules
index 14d1dad..8600bc0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,11 @@ include /usr/share/dpkg/default.mk
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))
%:
- dh $@ --with autoreconf,gir
+ dh $@ --with gir
override_dh_autoreconf:
dh_autoreconf ./autogen.sh
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..47ff201
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/ueno/libkkc/issues
+Bug-Submit: https://github.com/ueno/libkkc/issues/new
+Repository: https://github.com/ueno/libkkc.git
+Repository-Browse: https://github.com/ueno/libkkc