[Reproducible-commits] [debhelper] 01/02: fix mtimes also for ddebs.
Mattia Rizzolo
mattia at mapreri.org
Sun Apr 5 19:31:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 8c43491b97d30d2062e1ff85094cd1ebe5b0ced3
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Sun Apr 5 15:19:41 2015 +0200
fix mtimes also for ddebs.
---
dh_builddeb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dh_builddeb b/dh_builddeb
index da15114..7b5929f 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -131,6 +131,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $ddeb_tmpdir = "debian/.debhelper/${package}/ddeb-root";
if ( -d $ddeb_tmpdir) {
my $ddeb_filename = '/' . ddeb_filename($package);
+ complex_doit("find $ddeb_tmpdir -newermt '$dh{DATE}' $find_options -print0",
+ "2>/dev/null | xargs -0r touch --no-dereference --date='$dh{DATE}'");
+
doit("dpkg-deb", "-z1", "-Zxz", "-Sextreme",
@{$dh{U_PARAMS}}, "--build", $ddeb_tmpdir, $dh{DESTDIR}.$ddeb_filename);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list