[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1014909: buster-pu: package rust-cbindgen/0.23.0-1~deb10u1



On 14/07/2022 11:27, Emilio Pozuelo Monfort wrote:
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: pkg-rust-maintainers@alioth-lists.debian.net

Hi,

This updates rust-cbindgen to 0.23 for FF 102. FF/TB are the only users
of this package, so that should be fine.

The debdiff against bullseye adds a missing build-dep on the new rustc.

I have pushed a fix to buster, which fixes the file timestamps. The debhelper target fixing them was introduced in debhelper 12.8, so it didn't work in deb10u1.

Cheers,
Emilio
diff -Nru rust-cbindgen-0.23.0/debian/changelog rust-cbindgen-0.23.0/debian/changelog
--- rust-cbindgen-0.23.0/debian/changelog	2022-07-14 10:52:44.000000000 +0200
+++ rust-cbindgen-0.23.0/debian/changelog	2022-07-18 10:24:11.000000000 +0200
@@ -1,7 +1,15 @@
+rust-cbindgen (0.23.0-1~deb10u2) buster; urgency=medium
+
+  * Use override_ target instead of execute_after_, the latter is not
+    supported in buster's debhelper. This fixes files with too old
+    timestamps.
+
+ -- Emilio Pozuelo Monfort <pochu@debian.org>  Mon, 18 Jul 2022 10:24:11 +0200
+
 rust-cbindgen (0.23.0-1~deb10u1) buster; urgency=medium
 
   * Non-maintainer upload.
-  * Backport to bullseye.
+  * Backport to buster.
   * Bump rustc-mozilla build-deps to 1.59.
 
  -- Emilio Pozuelo Monfort <pochu@debian.org>  Thu, 14 Jul 2022 10:52:44 +0200
diff -Nru rust-cbindgen-0.23.0/debian/rules rust-cbindgen-0.23.0/debian/rules
--- rust-cbindgen-0.23.0/debian/rules	2022-06-17 13:13:13.000000000 +0200
+++ rust-cbindgen-0.23.0/debian/rules	2022-07-18 10:20:56.000000000 +0200
@@ -17,5 +17,6 @@
 	help2man debian/cbindgen/usr/bin/cbindgen > debian/cbindgen.1
 	dh_installman -O--buildsystem=cargo
 
-execute_after_dh_testdir:
+override_dh_testdir:
+	dh_testdir
 	find . ! -newermt "jan 01, 2000" -exec touch {} +

Reply to: