]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - debian/rules
Recommends: linux-libc-dev (< ${LINUX_NEXT})
[mirror_spl-debian.git] / debian / rules
index b2fc86c91fd9bfca5dfbc908be0f96e4cf70cc43..c7f26088d69294c8508d1b9556eace77eb0ebe7a 100755 (executable)
@@ -22,7 +22,7 @@ pmodules = $(PACKAGE)-modules-$(non_epoch_version)
        dh $@ --with dkms,autoreconf --parallel
 
 override_dh_auto_configure:
-       @cp debian/control.in debian/control
+       sed "s/@LINUX_COMPAT@/linux-libc-dev \(< $(shell debian/get_next.sh)\)/" debian/control.in > debian/control
 
        @# Embed the downstream version in the module.
        @sed \
@@ -61,7 +61,7 @@ override_dh_dkms:
 override_dh_auto_clean:
        dh_auto_clean
        @if test -e META.orig; then mv META.orig META; fi
-       cp debian/control.in debian/control
+       sed "s/@LINUX_COMPAT@/linux-libc-dev \(< $(shell debian/get_next.sh)\)/" debian/control.in > debian/control
 
 # ------------