[debhelper-devel] [debhelper] 01/01: Dh_Getopt: Improve warning message
Niels Thykier
nthykier at moszumanska.debian.org
Sun Nov 12 15:00:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 9a1d01d48be3b23ae7371a6aa8fe0a7a0125460e
Author: Niels Thykier <niels at thykier.net>
Date: Sun Nov 12 14:59:12 2017 +0000
Dh_Getopt: Improve warning message
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 2 ++
lib/Debian/Debhelper/Dh_Getopt.pm | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0d4b445..58ae064 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
debhelper (10.10.8) UNRELEASED; urgency=medium
* Document that compat 11 is now in its open beta phase.
+ * Dh_Getopt: Improve warning message when a package is excluded
+ due to profiles or architecture restrictions.
-- Niels Thykier <niels at thykier.net> Sun, 12 Nov 2017 09:55:24 +0000
diff --git a/lib/Debian/Debhelper/Dh_Getopt.pm b/lib/Debian/Debhelper/Dh_Getopt.pm
index 0754fcf..0eb3de0 100644
--- a/lib/Debian/Debhelper/Dh_Getopt.pm
+++ b/lib/Debian/Debhelper/Dh_Getopt.pm
@@ -257,7 +257,8 @@ sub parseopts {
my $do_exit = 0;
if ($profile_excluded_pkg) {
if (! $dh{BLOCK_NOOP_WARNINGS}) {
- warning("All requested packages have been excluded (e.g. via a Build-Profile).");
+ warning('All requested packages have been excluded'
+ . ' (e.g. via a Build-Profile or due to architecture restrictions).');
}
$do_exit = 1;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list