From c16f5bd49187706580506f260a0c9d027b203772 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 12 Jan 2023 18:20:28 +0000 Subject: [PATCH] debian: Declare that we need clap 3, with +derive Recently, Debian unstable changed so that "clap" is clap 4. Signed-off-by: Ian Jackson --- debian/control | 2 +- debian/update-build-deps | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 82b2820..be235c3 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 12), cargo, rustc, python3-sphinx, # debian/update-build-deps manages these: librust-backtrace-dev , librust-base64-dev , - librust-clap-dev , + librust-clap-3+derive-dev , librust-easy-ext-dev , librust-educe-dev , librust-either-dev , diff --git a/debian/update-build-deps b/debian/update-build-deps index 6faff72..856af2c 100755 --- a/debian/update-build-deps +++ b/debian/update-build-deps @@ -5,10 +5,12 @@ open I, "debian/control" or die $!; open O, ">debian/control.new" or die $!; our %need_features = qw( + clap +derive env-logger +default ); -+our %replace = ( - ); +our %replace = ( + clap => 'librust-clap-3+derive-dev', + ); while () { if (m{^\# debian/update-build-deps}i...m{^\S}) { -- 2.30.2