[lintian] 01/01: Add debian/changelog to the file-contains-trailing-whitespace example to make it even easier to copy-paste.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 0d8b061d09584cf1b52c0f23ec6b990e8ad8895b
Author: Chris Lamb <lamby@debian.org>
Date: Thu Dec 14 10:48:04 2017 +0000
Add debian/changelog to the file-contains-trailing-whitespace example to make it even easier to copy-paste.
---
checks/cruft.desc | 2 +-
debian/changelog | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/checks/cruft.desc b/checks/cruft.desc
index cc9b46e..8f8dcad 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -902,7 +902,7 @@ Info: This file appears to contain one or more lines with trailing
.
Whitespace can be removed with the following code snippet:
.
- $ sed -i -e 's@[[:space:]]*$@@g' debian/control
+ $ sed -i -e 's@[[:space:]]*$@@g' debian/control debian/changelog
.
If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
.
diff --git a/debian/changelog b/debian/changelog
index 7db8e01..e32513c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ lintian (2.5.63) UNRELEASED; urgency=medium
ELF binaries in $PATH. Host architecture binaries are generally not
executable so such files are useless for cross builds.
(Closes: #794295)
+ * checks/cruft.desc:
+ + [CL] Add debian/changelog to the file-contains-trailing-whitespace
+ example to make it even easier to copy-paste.
* checks/files.{pm,desc}:
+ [CL] Warn about Multi-Arch: foreign packages that ship CMake,
pkg-config or static libraries in public, architecture-dependent
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: