doit("cp", $this->get_sourcepath("debian/cargo-checksum.json"), "$target/.cargo-checksum.json");
# prevent an ftpmaster auto-reject regarding files with old dates.
doit("touch", "-d@" . $ENV{SOURCE_DATE_EPOCH}, "$target/Cargo.toml");
+ # Many files are coming from crates.io with incorrect timestamp
+ # See https://github.com/rust-lang/crates.io/issues/3859
+ complex_doit("find $target ! -newermt 'jan 01, 2000' -exec touch {} +");
}
foreach my $pkg (@{$this->{featurepkg}}) {
my $target = $this->get_sourcepath("debian/$pkg/usr/share/doc");
dh-cargo (25) UNRELEASED; urgency=medium
+ [ Debian Janitor ]
* Remove constraints unnecessary since stretch:
+ Build-Depends: Drop versioned constraint on debhelper.
+ dh-cargo: Drop versioned constraint on debhelper in Depends.
- -- Debian Janitor <janitor@jelmer.uk> Tue, 15 Jun 2021 22:38:34 -0000
+ [ Sylvestre Ledru ]
+ * Touch all the old files to address an auto reject from ftpmasters
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sun, 22 Aug 2021 21:46:33 +0200
dh-cargo (24) unstable; urgency=medium