Lintian Fixes - nvidia-graphics-drivers-legacy-340xx

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index a26261ea..3377d48c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+nvidia-graphics-drivers-legacy-340xx (340.108-20) UNRELEASED; urgency=medium
+
+  * Add missing build dependency on dkms | dh-sequence-dkms for command dh_dkms.
+  * Bump debhelper from old 10 to 13.
+    + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now
+      does this.
+    + debian/rules: Drop --fail-missing argument to dh_missing, which is now the
+      default.
+  * Set debhelper-compat version in Build-Depends.
+  * Fix day-of-week for changelog entry 180.29-1.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 13 Jun 2023 20:15:51 -0000
+
 nvidia-graphics-drivers-legacy-340xx (340.108-19) unstable; urgency=medium
 
   * Backport vm_area_struct_has_const_vm_flags changes from 525.105.17 to fix
@@ -5286,7 +5299,7 @@ nvidia-graphics-drivers (180.29-1) unstable; urgency=low
   * Add vdpau.so links (closes: #513765)
   * Yay Lenny released. Now upload to unstable (closes: #514788)
 
- -- Randall Donald <rdonald@debian.org>  Thu, 19 Jan 2009 12:09:26 -0800
+ -- Randall Donald <rdonald@debian.org>  Mon, 19 Jan 2009 12:09:26 -0800
 
 nvidia-graphics-drivers (180.22-2) experimental; urgency=low
 
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28b..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index dbbc4872..696eeedc 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Uploaders:
 Vcs-Browser: https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers
 Vcs-Git: https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers.git -b 340xx/main
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 13),
  dpkg-dev (>= 1.18.8),
  dh-dkms,
  libxext6,
@@ -20,6 +20,7 @@ Build-Depends:
  linux-headers-amd64 [amd64] <!nocheck>,
  linux-headers-686 [i386] <!nocheck>,
  linux-headers-armmp [armhf] <!nocheck>,
+ dkms | dh-sequence-dkms,
 Rules-Requires-Root: no
 Standards-Version: 4.6.2
 Homepage: https://www.nvidia.com
diff --git a/debian/rules b/debian/rules
index 1f9e7c51..251a9c24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -256,13 +256,11 @@ ifneq (,$(has_driver))
 override_dh_auto_test: J_FLAG ?= $(patsubst parallel=%,-j%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test: TEST_KERNEL ?= $(shell ls -dvr1 /lib/modules/*/build 2>/dev/null | cut -d/ -f4 | head -n 1)
 override_dh_auto_test: kernel-source-tree
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	cd $< && $(MAKE) $(J_FLAG) NV_VERBOSE=1 KERNEL_UNAME=$(TEST_KERNEL)
 ifneq (,$(has_uvm))
 	cd $< && $(MAKE) $(J_FLAG) -C uvm NV_VERBOSE=1 KERNEL_UNAME=$(TEST_KERNEL) KBUILD_EXTMOD=$$(pwd)/uvm
 endif
 endif
-endif
 
 override_dh_installchangelogs:
 	dh_installchangelogs debian/tmp/NVIDIA_Changelog
@@ -273,9 +271,6 @@ override_dh_dkms:
 override_dh_bugfiles:
 	dh_bugfiles -A
 
-override_dh_missing:
-	dh_missing --fail-missing
-
 override_dh_shlibdeps:
 	dh_shlibdeps -l/$(libdir)/$(nvidia_private)
 	test -z "$$(ls debian/*.substvars 2>/dev/null)" || sed -r -i 's/libnvidia-(e?glcore)-$(version)/lib$(nvidia)-\1 (= $${binary:Version})/g' debian/*.substvars

Run locally

More details

Full run details

Historical runs