[devscripts] 01/02: debuild: Pass -tc through to dpkg-buildpackage
James McCoy
jamessan at debian.org
Fri Dec 16 02:42: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 2c07bad788abf7f72bbb34d8c00eeea09cb3769d
Author: James McCoy <jamessan at debian.org>
Date: Thu Dec 15 20:45:38 2016 -0500
debuild: Pass -tc through to dpkg-buildpackage
Regression introduced as part of the great debuild refactoring --
b6143c44be18ec4c7f99cf60db17e52f12e060f5.
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 5 +++++
scripts/debuild.pl | 2 ++
2 files changed, 7 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index eb24f75..f198da7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,11 @@ devscripts (2.16.13) UNRELEASED; urgency=medium
* uscan:
+ Add .sign to the default OpenPGP extensions list
+ [ James McCoy ]
+ * debuild:
+ + Pass "-tc" through to dpkg-buildpackage instead of treating it as
+ "-t c". (Closes: #848210)
+
-- Paul Wise <pabs at debian.org> Fri, 16 Dec 2016 09:30:40 +0800
devscripts (2.16.12) unstable; urgency=medium
diff --git a/scripts/debuild.pl b/scripts/debuild.pl
index 9976b21..cf89e2c 100755
--- a/scripts/debuild.pl
+++ b/scripts/debuild.pl
@@ -772,6 +772,7 @@ foreach (@dpkg_extra_opts) {
$_ eq '-uc' and $signchanges=0, next;
$_ eq '-ap' and $usepause=1, next;
/^-a(.*)/ and $targetarch=$1, push(@dpkg_opts, $_), next;
+ $_ eq '-tc' and push(@dpkg_opts, $_), next;
/^-t(.*)/ and $targetgnusystem=$1, push(@dpkg_opts, $_), next; # Ditto
$_ eq '-b' and $binaryonly=$_, $binarytarget='binary',
push(@dpkg_opts, $_), next;
@@ -822,6 +823,7 @@ while ($_=shift) {
$_ eq '-ap' and $usepause=1, next;
/^-a(.*)/ and $targetarch=$1, push(@dpkg_opts, $_),
next;
+ $_ eq '-tc' and push(@dpkg_opts, $_), next;
/^-t(.*)/ and $targetgnusystem=$1, next;
$_ eq '-b' and $binaryonly=$_, $binarytarget='binary',
push(@dpkg_opts, $_), next;
--
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