Lintian Fixes - leela-zero

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 23f123f..7b88154 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+leela-zero (0.17-2) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 to 13.
+    + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now
+      does this.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Set upstream metadata fields: Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 27 Sep 2022 15:17:36 -0000
+
 leela-zero (0.17-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index 97254a7..084d49d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: leela-zero
 Section: games
 Priority: optional
 Maintainer: Ximin Luo <infinity0@debian.org>
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 13),
  cmake,
  libgtest-dev,
  libeigen3-dev,
diff --git a/debian/rules b/debian/rules
index 0b22f39..6b2cd66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,12 +19,10 @@ override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_INSTALL_BINDIR=lib/leelaz/bin
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_test
 	if [ $$(clinfo -l --raw | grep -E '[0-9]+:[0-9]+:' | wc -l) -gt 0 ]; then \
 		cd obj-$(DEB_HOST_MULTIARCH) && ./tests; \
 	fi
-endif
 
 override_dh_auto_clean:
 	dh_auto_clean
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..50bd386
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/leela-zero/leela-zero/issues
+Bug-Submit: https://github.com/leela-zero/leela-zero/issues/new
+Repository: https://github.com/leela-zero/leela-zero.git
+Repository-Browse: https://github.com/leela-zero/leela-zero

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/29/9e4f81c67e08fd7cddad6accc89910a9749f49.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/d3/5a7f9a98a77beeaea13d18d54a3436d3a7108e.debug
-rw-r--r--  root/root   /usr/lib/debug/.dwz/x86_64-linux-gnu/leela-zero.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/84/afb52496b514c5a878168657e7197494c13732.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/b9/e9d60f7334078ac5cbab362635573e791b4150.debug

Control files of package leela-zero: lines which differ (wdiff format)

  • Depends: libboost-filesystem1.74.0 (>= 1.74.0), 1.74.0+ds1), libboost-program-options1.74.0 (>= 1.74.0), 1.74.0+ds1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libqt5core5a (>= 5.15.1), libstdc++6 (>= 12), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.2-1, zlib1g (>= 1:1.1.4)

Control files of package leela-zero-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 84afb52496b514c5a878168657e7197494c13732 299e4f81c67e08fd7cddad6accc89910a9749f49 99581cce079effc3154ada435778ea8629a38a90 b9e9d60f7334078ac5cbab362635573e791b4150 d35a7f9a98a77beeaea13d18d54a3436d3a7108e

Run locally

More details

Full run details