From ed34845b100df9363b5c666d5c27b20188283f7a Mon Sep 17 00:00:00 2001 From: David Adam Date: Tue, 10 Feb 2026 13:07:01 +0800 Subject: [PATCH] Debian packaging: don't link the .cargo directory from vendor tarball The main tarball did not contain a .cargo directory, but it does now, and this symlink ends up in the wrong place and is not needed. --- contrib/debian/rules | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/debian/rules b/contrib/debian/rules index 16dc4f744..7fb48f244 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -16,14 +16,12 @@ export DEB_BUILD_MAINT_OPTIONS=optimize=-lto # Setting the build system is still required, because otherwise the GNUmakefile gets picked up override_dh_auto_configure: ln -s cargo-vendor/vendor vendor - ln -s cargo-vendor/.cargo .cargo dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DRust_CARGO=$$(command -v cargo-1.85 || command -v cargo) \ -DRust_COMPILER=$$(command -v rustc-1.85 || command -v rustc) override_dh_clean: dh_clean --exclude=Cargo.toml.orig - -unlink .cargo -unlink vendor override_dh_auto_test: