[Reproducible-commits] [debhelper] 01/01: dh_strip: Sort build-ids
Mattia Rizzolo
mattia at mapreri.org
Sun Oct 4 19:55:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch master
in repository debhelper.
commit e6bb143b8ff611dc29658a1c3e6a1ce413d75e83
Author: Niels Thykier <niels at thykier.net>
Date: Sun Oct 4 20:51:50 2015 +0200
dh_strip: Sort build-ids
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 7 +++++++
dh_strip | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f01b2ca..5ea99c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (9.20151004+unreleased) UNRELEASED; urgency=medium
+
+ * dh_strip: Sort build-ids to make the Build-Ids header
+ reproducible.
+
+ -- Niels Thykier <niels at thykier.net> Sun, 04 Oct 2015 20:50:41 +0200
+
debhelper (9.20151004) unstable; urgency=medium
[ Niels Thykier ]
diff --git a/dh_strip b/dh_strip
index c6577dd..c8fab7f 100755
--- a/dh_strip
+++ b/dh_strip
@@ -373,7 +373,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$path = "${dir}/ddeb-build-ids";
install_dir($dir) if ! -d $dir;
open(my $fd, '>>', $path) or error("open $path failed: $!");
- print {$fd} join(q{ }, @build_ids) . "\n";
+ print {$fd} join(q{ }, sort(@build_ids)) . "\n";
close($fd) or error("close $path failed: $!");
}
}
--
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