From: Ian Jackson Date: Thu, 15 Jun 2023 14:43:34 +0000 (+0100) Subject: build-deps: Actually get rid of versioned dep on base64 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9aa4317e52c10b0227ec9311fcab611199ababc5;p=hippotat.git build-deps: Actually get rid of versioned dep on base64 update-build-deps mishandled packages with versions in the names. Signed-off-by: Ian Jackson --- diff --git a/debian/control b/debian/control index 3ac7144..be235c3 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,6 @@ Build-Depends: debhelper (>= 12), cargo, rustc, python3-sphinx, python3-recommonmark, python3-sphinx-markdown-tables, moreutils, libssl-dev (>= 1.1), pkg-config, # debian/update-build-deps manages these: - librust-base64-0.21-dev , librust-backtrace-dev , librust-base64-dev , librust-clap-3+derive-dev , diff --git a/debian/update-build-deps b/debian/update-build-deps index 2c19049..b20ba8a 100755 --- a/debian/update-build-deps +++ b/debian/update-build-deps @@ -19,7 +19,7 @@ our %replace = ( while () { if (m{^\# debian/update-build-deps}i...m{^\S}) { - next if m{^ +librust[-+a-z0-9]+ (?:\(.*\) )?\,?\s*$}; + next if m{^ +librust[-+a-z0-9.]+ (?:\(.*\) )?\,?\s*$}; if (m{^\S} && !m{^\#}i) { local ($_); open C, "Cargo.toml" or die $!;