+rustc (1.52.0~beta.3+dfsg1-1~exp4) UNRELEASED; urgency=medium
+
+ * Fix issue with dh_missing --fail-missing
+
+ -- Ximin Luo <infinity0@debian.org> Thu, 06 May 2021 01:52:10 +0100
+
rustc (1.52.0~beta.3+dfsg1-1~exp3) experimental; urgency=medium
* Fix Makefile addition syntax.
usr/lib/rustlib/uninstall.sh
# redundant copy of llvm-dwp, we already link it in rustc.links
-usr/bin/rust-llvm-dwp
+usr/lib/rustlib/*/bin/rust-llvm-dwp
# docs, we already install into /usr/share/doc/rustc
usr/share/doc/rust/*
dh_install -p$(LIBSTD_PKG) usr/lib/$(DEB_HOST_MULTIARCH)/
dh_install -plibstd-rust-dev usr/lib/rustlib/$(DEB_HOST_RUST_TYPE)/lib/
ifeq (true,$(BUILD_WINDOWS))
- dh_install -plibstd-rust-dev-windows usr/lib/rustlib/*-pc-windows-gnu/lib/
+ dh_install -plibstd-rust-dev-windows usr/lib/rustlib/$(WINDOWS_ARCH)-pc-windows-gnu/lib/
endif
override_dh_install-indep: debian/rust-src.install debian/rust-src.links
dh_installdocs -X.tex -X.aux -X.log -X.out -X.toc
override_dh_missing:
+ # if we did an arch-indep build then these artifacts exist but aren't installed
+ # so we remove them now to avoid false-positive in dh_missing --fail-missing
+ rm -rf debian/tmp/usr/lib/rustlib/$(DEB_HOST_RUST_TYPE)/lib/
+ rm -rf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
dh_missing --fail-missing
override_dh_compress: