Ok, third version, I think this one has real chances of being
correct. Sorry for the previous tries.

Did not realize that source code should definitely go to "jool-dkms".

As before, please make sure that the contents of the packages is correct.
I've just tested that dpkg-buildpackage [-b|-A|-B] generates the same packages.

Thanks.
commit 60e22dfeff8f496b3ce8a3f39a7bf9b10c6c61b9
Author: Santiago Vila <sanv...@debian.org>
Date:   Wed May 21 00:38:00 2025 +0200

    Fix arch:all

diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de3947..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index 187db0b0..d675efe8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Alberto Leiva Popper <ydah...@gmail.com>
 Section: kernel
 Priority: optional
 Build-Depends:
- debhelper (>= 11), dh-sequence-dkms,
+ debhelper-compat (= 13), dh-sequence-dkms,
  pkgconf, gawk, file, cpio,
  libnl-genl-3-dev, libnl-3-dev,
  libxtables-dev
diff --git a/debian/rules b/debian/rules
index 2c3e9f73..ec43fac2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,11 +22,9 @@ override_dh_dkms:
        # -V enables us to use #MODULE_VERSION# in the jool-dkms.dkms file.
        dh_dkms -V
 
-override_dh_install:
-       # See `debhelper(7)`, not `dh_install(1)`.
-       dh_install -Njool-dkms
-       dh_install -pjool-dkms \
-               -X/usr/ -X.o -XMakefile.in -XMakefile.am \
+override_dh_install-indep:
+       dh_install
+       dh_install -X/usr/ -X.o -XMakefile.in -XMakefile.am \
                src usr/src/jool-$(DEB_VERSION_UPSTREAM)
 
 # -- Overrides needed by the systemd unit files --

Reply via email to