Lintian Fixes - gphoto2
Recent merge proposals
Ready changes
Summary
- Set field Upstream-Name in debian/copyright.
- 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 )
Lintian Result
Diff
diff --git a/debian/copyright b/debian/copyright
index 21a775c..ae9c903 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,5 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: http://gphoto.org/download/
+Upstream-Name: gphoto2 command line interface
Files: *
Copyright: 2000-2016, Lutz Müller <lutz@users.sourceforge.net>
diff --git a/debian/rules b/debian/rules
index 15f706a..a35b240 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND= -Wl,--as-needed
override_dh_auto_configure:
dh_auto_configure -- --with-aalib
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5eafab4
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/gphoto/gphoto2/issues
+Bug-Submit: https://github.com/gphoto/gphoto2/issues/new
+Repository: https://github.com/gphoto/gphoto2.git
+Repository-Browse: https://github.com/gphoto/gphoto2
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package gphoto2
No differences were encountered between the control files of package gphoto2-dbgsym