From: Ian Jackson Date: Thu, 12 Jan 2023 18:20:28 +0000 (+0000) Subject: debian: Declare that we need clap 3, with +derive X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c16f5bd49187706580506f260a0c9d027b203772;p=hippotat.git debian: Declare that we need clap 3, with +derive Recently, Debian unstable changed so that "clap" is clap 4. Signed-off-by: Ian Jackson --- 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}) {