Lintian Fixes - superlu

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 01fd70d..e77ef06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+superlu (5.3.0+dfsg1-3) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Remove unnecessary get-orig-source-target.
+  * Drop transition for old debug package migration.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 02 Sep 2022 01:30:50 -0000
+
 superlu (5.3.0+dfsg1-2) unstable; urgency=medium
 
   * upload SuperLU 5.3 to unstable
@@ -67,7 +79,7 @@ superlu (5.2.1+dfsg1-2) unstable; urgency=medium
  -- Drew Parsons <dparsons@debian.org>  Sat, 03 Sep 2016 10:10:01 +0800
 
 superlu (5.2.1+dfsg1-1~exp1) experimental; urgency=medium
-  
+
   * Team upload.
 
   [ Nico Schlömer ]
@@ -112,10 +124,10 @@ superlu (4.3+dfsg-1) experimental; urgency=medium
   * Remove the broken infrastructure for running tests from /usr/share/doc.
   * Add new libsuperlu-doc package.
   * debian/control: updated Standards-Version to 3.9.5
-  
+
   [ Christophe Trophime ]
   * New upstream release (Closes: #709165)
-  * debian/rules: 
+  * debian/rules:
      - switch to debhelper
      - simplify rules
   * Add patch format-security.patch
@@ -193,4 +205,3 @@ superlu (3.0-1) unstable; urgency=low
   * Initial Release. (closes: #265217)
 
  -- Christophe Prud'homme <prudhomm@mit.edu>  Thu, 12 Aug 2004 11:05:16 +0200
-
diff --git a/debian/copyright b/debian/copyright
index 679e01e..825a124 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: SuperLU
 Upstream-Contact: xsli@lbl.gov
 Source: https://github.com/xiaoyeli/superlu
diff --git a/debian/rules b/debian/rules
index 35cdc7e..8d932c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,6 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
 	dh $@ --buildsystem=cmake
@@ -23,9 +22,3 @@ override_dh_auto_configure:
 DEB_SOURCE_PACKAGE = superlu
 DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/+dfsg.*$$//p')
-
-get-orig-source:
-	uscan --force-download --verbose --check-dirname-level 0 --download-version $(DEB_STRIPPED_UPSTREAM_VERSION) --upstream-version $(DEB_STRIPPED_UPSTREAM_VERSION) --repack --compression xz
-
-override_dh_strip:
-	dh_strip --dbgsym-migration='libsuperlu5-dbg (<< 5.2.1+dfsg1-1~)'
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..cf4d87e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/xiaoyeli/superlu/issues
+Bug-Submit: https://github.com/xiaoyeli/superlu/issues/new
+Repository: https://github.com/xiaoyeli/superlu.git
+Repository-Browse: https://github.com/xiaoyeli/superlu

Run locally

More details

Full run details