From: Jonathan Carter Date: Sat, 28 Oct 2023 17:17:52 +0000 (+0200) Subject: Prepare for upload X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=56c5542c969adbad6bcce80323ff4618c26f83a9;p=bcachefs-tools-debian Prepare for upload --- diff --git a/debian/README.todo b/debian/README.todo new file mode 100644 index 0000000..93db89a --- /dev/null +++ b/debian/README.todo @@ -0,0 +1,11 @@ +Enable rust build, which is currently disabled in debian/rule +with NO_RUST=true. + +Dependencies available in Debian: librust-byteorder-dev librust-rpassword-dev +librust-either-dev librust-errno-dev librust-itertools-dev librust-getset-dev +librust-uuid-dev librust-libudev-dev librust-libc-dev librust-anyhow-dev +librust-clap-dev librust-colored-dev librust-chrono-dev librust-log-dev +librust-atty-dev + +Missing dependencies: librust-gag-dev librust-parse-display-dev +librust-bch-bindgen-dev diff --git a/debian/changelog b/debian/changelog index 9ac9078..a1bfec3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,10 @@ bcachefs-tools (24+really1.2-1) unstable; urgency=medium - * New upstream release + * New upstream release (Closes: #1054613) + * Disable new rust build + (dependencies currently unavailable in Debian, see debian/README.todo) + * Remove unneeded override_dh_auto_clean from debian/rules + (Closes: #1043654) -- Jonathan Carter Thu, 28 Sep 2023 19:54:47 +0200 diff --git a/debian/rules b/debian/rules index 748186e..a202318 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,14 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all +# Do not build rust code (dependencies currently unmet) +export NO_RUST=-true + PREFIX := /usr DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + ifeq ($(DEB_BUILD_ARCH),amd64) DEB_BUILD_MAINT_OPTIONS += optimize=-lto endif @@ -15,6 +19,4 @@ endif override_dh_auto_install: dh_auto_install -- "PREFIX=$(PREFIX)" -override_dh_auto_clean: - override_dh_auto_test: