Lintian Fixes - python-gphoto2
Ready changes
Summary
- Bump debhelper from old 12 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 )
- Update standards version to 4.6.1, no changes needed. ( out-of-date-standards-version )
- Avoid explicitly specifying -Wl,--as-needed linker flag. ( debian-rules-uses-as-needed-linker-flag )
Lintian Result
Diff
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 48082f7..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-12
diff --git a/debian/control b/debian/control
index 8e0fa1b..2ca4846 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: python-gphoto2
Section: python
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 12),
+Build-Depends: debhelper-compat (= 13),
dh-python,
libgphoto2-dev,
python3-dev,
python3-setuptools,
swig
-Standards-Version: 4.3.0
+Standards-Version: 4.6.1
Homepage: https://github.com/jim-easterbrook/python-gphoto2
Vcs-Git: https://salsa.debian.org/debian/python-gphoto2.git
Vcs-Browser: https://salsa.debian.org/debian/python-gphoto2
diff --git a/debian/rules b/debian/rules
index 41569f9..b94217e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,6 @@
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
export PYBUILD_NAME=gphoto2
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..17951fc
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/jim-easterbrook/python-gphoto2/issues
+Bug-Submit: https://github.com/jim-easterbrook/python-gphoto2/issues/new
+Repository: https://github.com/jim-easterbrook/python-gphoto2.git
+Repository-Browse: https://github.com/jim-easterbrook/python-gphoto2
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package python-gphoto2-doc
No differences were encountered between the control files of package python3-gphoto2
No differences were encountered between the control files of package python3-gphoto2-dbgsym