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 {} +");
+ complex_doit("find $target ! -newermt 'jan 01, 2000' -exec touch -d@" . $ENV{SOURCE_DATE_EPOCH} . " {} +");
}
foreach my $pkg (@{$this->{featurepkg}}) {
my $target = tmpdir($pkg) . "/usr/share/doc";