Debian packaging: drop Xenial support and bump debhelper compat

Discussed in https://github.com/fish-shell/fish-shell/issues/10453
This commit is contained in:
David Adam 2024-04-27 18:10:08 +08:00
parent cc2fb5c07c
commit 5871deeee5
3 changed files with 2 additions and 8 deletions

2
debian/compat vendored
View file

@ -1 +1 @@
10
12

3
debian/control vendored
View file

@ -3,8 +3,7 @@ Section: shells
Priority: optional
Maintainer: ridiculous_fish <corydoras@ridiculousfish.com>
Uploaders: David Adam <zanchey@ucc.gu.uwa.edu.au>
# Debhelper should be bumped to >= 10 once Ubuntu Xenial is no longer supported
Build-Depends: debhelper (>= 9.20160115), cmake (>= 3.19.0) | cmake-mozilla (>= 3.19.0), gettext,
Build-Depends: debhelper (>= 12), cmake (>= 3.19.0) | cmake-mozilla (>= 3.19.0), gettext,
rustc (>= 1.70), cargo (>= 0.66) | cargo-mozilla (>= 0.66), libpcre2-dev,
# Test dependencies
locales-all, python3

5
debian/rules vendored
View file

@ -17,8 +17,3 @@ override_dh_clean:
dh_clean
-unlink .cargo
-unlink vendor
# On CMake 3.5 (and possibly 3.6), the test target does not pick up its dependencies properly
# Build tests_buildroot_target by hand (remove this once Ubuntu Xenial is out of support)
override_dh_auto_build:
dh_auto_build -- all tests_dir funcs_dir tests_buildroot_target