[devscripts] 02/03: debuild: Preserve SOURCE_DATE_EPOCH in the environment
James McCoy
jamessan at debian.org
Thu Nov 24 19:31:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit b8e57ef69b07a08473b7f5203484a7a03aff8c5b
Author: James McCoy <jamessan at debian.org>
Date: Thu Nov 24 14:07:24 2016 -0500
debuild: Preserve SOURCE_DATE_EPOCH in the environment
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 1 +
scripts/debuild.pl | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2ce4d32..7a51506 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ devscripts (2.16.10) UNRELEASED; urgency=medium
* debuild:
+ Fix mapping of debuild final-clean hook to dpkg-buildpackage's
postclean.
+ + Preserve SOURCE_DATE_EPOCH in the environment.
-- Afif Elghraoui <afif at debian.org> Wed, 23 Nov 2016 23:50:46 -0800
diff --git a/scripts/debuild.pl b/scripts/debuild.pl
index 94987da..2f4a598 100755
--- a/scripts/debuild.pl
+++ b/scripts/debuild.pl
@@ -622,7 +622,8 @@ unless ($preserve_env) {
foreach my $var (keys %ENV) {
delete $ENV{$var} unless
$save_vars{$var} or $var =~ /^(LC|DEB)_[A-Z_]+$/
- or $var =~ /^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$/;
+ or $var =~ /^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$/
+ or $var eq 'SOURCE_DATE_EPOCH';
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list