Lintian Fixes - deepin-calculator

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 78bfc84..b983a0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+deepin-calculator (5.6.0.10-3) UNRELEASED; urgency=medium
+
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 22 Apr 2021 01:54:17 -0000
+
 deepin-calculator (5.6.0.10-2) unstable; urgency=medium
 
   * Source-only rebuild.
diff --git a/debian/rules b/debian/rules
index 90bec19..6a3797d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 # package maintainers to append CFLAGS
 export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 # package maintainers to append LDFLAGS
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 export QT_SELECT := 5
 
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..53d45bb
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/linuxdeepin/deepin-calculator/issues
+Bug-Submit: https://github.com/linuxdeepin/deepin-calculator/issues/new
+Repository: https://github.com/linuxdeepin/deepin-calculator.git
+Repository-Browse: https://github.com/linuxdeepin/deepin-calculator

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/eb/7ec76309b3af1b76ff3dc33c5d39a1dd6acab9.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/6f/6ff6b1eb7a5d00586e0a177fa8b4d1513ecb6e.debug

No differences were encountered between the control files of package deepin-calculator

Control files of package deepin-calculator-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 6f6ff6b1eb7a5d00586e0a177fa8b4d1513ecb6e eb7ec76309b3af1b76ff3dc33c5d39a1dd6acab9

Run locally

Try this locally (using the lintian-brush package):

debcheckout deepin-calculator
cd deepin-calculator
lintian-brush

More details

Full run details