Lintian Fixes - numdiff

Ready changes

Summary

Failed fixers:

See the worker log for details.

Diff

diff --git a/debian/changelog b/debian/changelog
index 321dcaa..b89e006 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,19 @@
+numdiff (5.9.0-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Update watch file format version to 4.
+  * Use secure URI in Homepage field.
+  * Don't specify --with=quilt, since package uses '3.0 (quilt)' source format.
+  * Bump debhelper dependency to >= 9, since that's what is used in
+    debian/compat.
+  * Bump debhelper from deprecated 9 to 10.
+  * Change priority extra to priority optional.
+  * Set upstream metadata fields: Bug-Submit (from ./configure).
+  * Changed vcs type from git to Git based on URL.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 08 Apr 2023 07:26:56 -0000
+
 numdiff (5.9.0-1) unstable; urgency=low
 
   * New upstream version
@@ -23,8 +39,8 @@ numdiff (5.8.1-1) unstable; urgency=low
   * New upstream release:
     - do not include the optional invariant sections clause of the GFDL and fix
       the lintian license-problem-gfdl-invariants error; closes: #709492
-    - ndselect now recognizes the options -O and -D 
-    - changed the long option --separator to --separators 
+    - ndselect now recognizes the options -O and -D
+    - changed the long option --separator to --separators
     - the options -s and -S support a larger set of escape sequences
     - detection of binary files
     - the short form of Numdiff option --dummy is not -D anymore, but -U
@@ -32,11 +48,11 @@ numdiff (5.8.1-1) unstable; urgency=low
     - support for escape sequences in the currencies option
   * Removed patches:
     - up-mkdir-manpages.patch that was integrated upstream
-  * fix lintian ancient-standards-version warning by updating the 
+  * fix lintian ancient-standards-version warning by updating the
     Standards-Version field in debian/control
   * fix the lintian hardening-no-relro warning by adding an
     override_dh_auto_configure in debian/rules
-  * update the machine-readable debian/copyright file to version 1.0 
+  * update the machine-readable debian/copyright file to version 1.0
     of the standard
   * compile with -O0 as per upstream known issue with optimization and GMP;
     this causes a lintian hardening-no-fortify-functions but is required as
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 48f0e53..9d84f60 100644
--- a/debian/control
+++ b/debian/control
@@ -1,23 +1,23 @@
 Source: numdiff
 Section: science
-Priority: extra
+Priority: optional
 Maintainer: Paolo Greppi <paolo.greppi@libpf.com>
 Uploaders: Yaroslav Halchenko <debian@onerussian.com>
-Build-Depends: quilt, texinfo, debhelper (>= 7.0.50), autotools-dev
+Build-Depends: quilt, texinfo, debhelper (>= 10~), autotools-dev
 Standards-Version: 3.9.8
-Homepage: http://nongnu.org/numdiff/
+Homepage: https://nongnu.org/numdiff/
 Vcs-Browser: https://gitlab.com/simevo/pkg-numdiff
-Vcs-git: https://gitlab.com/simevo/pkg-numdiff.git
+Vcs-Git: https://gitlab.com/simevo/pkg-numdiff.git
 
 Package: numdiff
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info
 Description: Compare similar files with numeric fields
- Numdiff is a console application that can be used to compare putatively 
- similar files line by line and field by field, ignoring small numeric 
+ Numdiff is a console application that can be used to compare putatively
+ similar files line by line and field by field, ignoring small numeric
  differences or/and different numeric formats. It is similar diff or wdiff,
- but it is aware of floating point numbers including complex and 
+ but it is aware of floating point numbers including complex and
  multi-precision numbers.
- Numdiff is useful to compare text files containing numerical fields, when 
+ Numdiff is useful to compare text files containing numerical fields, when
  testing or doing quality control in scientific computing or in numerical
  analysis.
diff --git a/debian/copyright b/debian/copyright
index c24f686..34f5c96 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: numdiff
 Source: http://nongnu.org/numdiff/
 
diff --git a/debian/rules b/debian/rules
index b066f3a..8937584 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ export DEB_CFLAGS_MAINT_APPEND = -O0
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@ --with quilt
+	dh $@
 
 override_dh_quilt_patch:
 	chmod u+w analyze.c
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..dc1cdd0
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Bug-Submit: <ivprimi at libero dot it>
diff --git a/debian/watch b/debian/watch
index f99434a..098bbc2 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 http://download.savannah.gnu.org/releases/numdiff/ numdiff-(.*)\.tar\.gz

Run locally

More details

Full run details

Historical runs