[lintian] 04/06: checks/*: Fix capitalization errors
This is an automated email from the git hooks/post-receive script.
jwilk pushed a commit to branch master
in repository lintian.
commit 3f99d8eb0bd808dc1bc19592a47f7546272649d6
Author: Jakub Wilk <jwilk@debian.org>
Date: Tue Aug 16 11:51:08 2016 +0200
checks/*: Fix capitalization errors
---
checks/changelog-file.desc | 2 +-
checks/cruft.desc | 2 +-
checks/duplicate-files.desc | 2 +-
checks/fields.desc | 6 +++---
checks/files.desc | 6 +++---
checks/files.pm | 14 +++++++-------
checks/java.desc | 2 +-
checks/phppear.desc | 2 +-
checks/rules.desc | 2 +-
checks/shared-libs.desc | 4 ++--
debian/changelog | 19 +++++++++++++++++++
11 files changed, 40 insertions(+), 21 deletions(-)
diff --git a/checks/changelog-file.desc b/checks/changelog-file.desc
index 7c45c2b..bfa3a5a 100644
--- a/checks/changelog-file.desc
+++ b/checks/changelog-file.desc
@@ -363,7 +363,7 @@ Tag: non-consecutive-debian-revision
Severity: pedantic
Certainty: possible
Experimental: yes
-Info: The last changelog entry refer to a debian revision that is not
+Info: The last changelog entry refer to a Debian revision that is not
consecutive to previous changelog entry. Please use consecutive Debian
revision or use UNRELEASED version.
diff --git a/checks/cruft.desc b/checks/cruft.desc
index f1b1643..a58844e 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -96,7 +96,7 @@ Certainty: certain
Info: The upstream source contains an .svn directory. It was most likely
included by accident since Subversion version control directories
usually don't belong in releases. When packaging a Subversion snapshot,
- export from subversion rather than checkout. If an upstream release
+ export from Subversion rather than checkout. If an upstream release
tarball contains .svn directories, this should be reported as a bug to
upstream since it can double the size of the tarball to no purpose.
diff --git a/checks/duplicate-files.desc b/checks/duplicate-files.desc
index c07ede4..03b24f0 100644
--- a/checks/duplicate-files.desc
+++ b/checks/duplicate-files.desc
@@ -22,5 +22,5 @@ Info: The package appears to be shipping two copies of the changelog.
If the second copy is really needed, consider making it a symlink to
the canonical place for the relevant changelog.
.
- Both upstream and debian changelogs are checked with this tag.
+ Both upstream and Debian changelogs are checked with this tag.
diff --git a/checks/fields.desc b/checks/fields.desc
index 5c21a04..abcbd43 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -56,7 +56,7 @@ Ref: policy 5.6.12
Tag: debian-revision-not-well-formed
Severity: normal
Certainty: certain
-Info: The debian version part (the part after the -) should consist of one
+Info: The Debian version part (the part after the -) should consist of one
or two dot-separated parts: one for a regular maintainer release or two
for a source-NMU.
Ref: devref 5.11.2, policy 5.6.12
@@ -64,7 +64,7 @@ Ref: devref 5.11.2, policy 5.6.12
Tag: debian-revision-should-not-be-zero
Severity: important
Certainty: certain
-Info: The debian version part (the part after the -) should start with one,
+Info: The Debian version part (the part after the -) should start with one,
not with zero. This is to ensure that a correctly-done Maintainer Upload will
always have a higher version number than a Non-Maintainer upload: a NMU could
have been prepared which introduces this upstream version with
@@ -1290,4 +1290,4 @@ Info: This .dsc file contains no Checksum-Sha256 field and hence only
.
Accordingly it can be fixed by simply rebuilding the source package
with a more recent dpkg-source version, i.e. by uploading a new
- debian release of the package.
+ Debian release of the package.
diff --git a/checks/files.desc b/checks/files.desc
index 30e2ca9..5ddc26b 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -833,7 +833,7 @@ Tag: package-installs-python-bytecode
Severity: serious
Certainty: certain
Ref: python-policy 3.7
-Info: Compiled python source files must not be included in the package.
+Info: Compiled Python source files must not be included in the package.
These files should be removed from the package and created at package
installation time in the postinst.
@@ -844,14 +844,14 @@ Ref: python-policy 3.7
Info: Python eggs should not be installed, since the Debian package is
supposed to do the required steps for installing the Python code.
.
- The egg may contain pre-compiled python bytecode or shared libraries.
+ The egg may contain pre-compiled Python bytecode or shared libraries.
Tag: package-installs-python-pycache-dir
Severity: serious
Certainty: certain
Ref: python-policy 3.7
Info: The package installs a __pycache__ directory, which is normally
- only used to store compiled python source files. Compiled python
+ only used to store compiled Python source files. Compiled Python
source files must not be included in the package, instead they
should be generated at installation time in the postinst.
.
diff --git a/checks/files.pm b/checks/files.pm
index 90a83bf..b546cf9 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -1080,7 +1080,7 @@ sub run {
}
}
- # ---------------- .pyc/.pyo (compiled python files)
+ # ---------------- .pyc/.pyo (compiled Python files)
# skip any file installed inside a __pycache__ directory
# - we have a separate check for that directory.
if ($fname =~ m,\.py[co]$,o && $fname !~ m,/__pycache__/,o) {
@@ -1092,7 +1092,7 @@ sub run {
tag 'package-installs-python-pycache-dir', $file;
}
- # ---------------- .egg (python egg files)
+ # ---------------- .egg (Python egg files)
if (
$fname =~ m,\.egg$,o
&& ( $fname =~ m,^usr/lib/python\d+(?:\.\d+/),o
@@ -1268,8 +1268,8 @@ sub run {
tag 'file-should-not-be-compressed', $file;
}
- # ---------------- python file locations
- # - The python people kindly provided the following table.
+ # ---------------- Python file locations
+ # - The Python people kindly provided the following table.
# good:
# /usr/lib/python2.5/site-packages/
# /usr/lib/python2.6/dist-packages/
@@ -1293,7 +1293,7 @@ sub run {
my @correction;
$pmin = 0 unless (defined $pmin);
$debug = '' unless (defined $debug);
- next if ($pmaj < 2 or $pmaj > 3); # Not python 2 or 3
+ next if ($pmaj < 2 or $pmaj > 3); # Not Python 2 or 3
if ($pmaj == 2 and $pmin < 6){
# 2.4 and 2.5
if ($loc ne 'site') {
@@ -1303,7 +1303,7 @@ sub run {
);
}
} elsif ($pmaj == 3){
- # python 3. Everything must be in python3/dist-... and
+ # Python 3. Everything must be in python3/dist-... and
# not python3.X/<something>
if ($pyver ne '3' or $loc ne 'dist'){
# bad mojo
@@ -1313,7 +1313,7 @@ sub run {
);
}
} else {
- # python 2.6+
+ # Python 2.6+
if ($loc ne 'dist') {
@correction = (
"${debug}usr/lib/python${pyver}/$loc-packages/$rest",
diff --git a/checks/java.desc b/checks/java.desc
index c6aecac..be1d5b9 100644
--- a/checks/java.desc
+++ b/checks/java.desc
@@ -4,7 +4,7 @@ Abbrev: java
Type: binary
Needs-Info: java-info, unpacked
Info: This script checks if the packages comply with various aspects of the
- debian Java policy.
+ Debian Java policy.
Tag: classpath-contains-relative-path
Severity: normal
diff --git a/checks/phppear.desc b/checks/phppear.desc
index ce3f3c4..4316bc1 100644
--- a/checks/phppear.desc
+++ b/checks/phppear.desc
@@ -4,7 +4,7 @@ Abbrev: phppear
Type: source
Needs-Info: unpacked
Info: This script checks if the packages comply with various aspects of the
- debian PHP policy.
+ Debian PHP policy.
Tag: pear-package-without-pkg-php-tools-builddep
Severity: normal
diff --git a/checks/rules.desc b/checks/rules.desc
index 25c565b..37fbed0 100644
--- a/checks/rules.desc
+++ b/checks/rules.desc
@@ -218,7 +218,7 @@ Info: The rules file appears to be reading or modifying a variable not
intended for use by package maintainers.
.
The special variables <tt>DEB_*FLAGS_{SET,APPEND}</tt> can be used by
- users who want to re-compile debian packages with special (or
+ users who want to re-compile Debian packages with special (or
non-standard) build flags.
.
Please use the <tt>DEB_*FLAGS_MAINT_{SET,APPEND}</tt> flags instead.
diff --git a/checks/shared-libs.desc b/checks/shared-libs.desc
index 47791b5..920d244 100644
--- a/checks/shared-libs.desc
+++ b/checks/shared-libs.desc
@@ -281,7 +281,7 @@ Severity: important
Certainty: certain
Info: Debian revisions should be stripped from versions in symbols files.
Not doing so leads to dependencies unsatisfiable by backports (1.0-1~bpo
- << 1.0-1 while 1.0-1~bpo >= 1.0). If the debian revision can't
+ << 1.0-1 while 1.0-1~bpo >= 1.0). If the Debian revision can't
be stripped because the symbol really appeared between two specific
Debian revisions, you should postfix the version with a single "~"
(example: 1.0-3~ if the symbol appeared in 1.0-3).
@@ -297,7 +297,7 @@ Severity: normal
Certainty: certain
Info: Debian revisions should be stripped from versions in symbols files.
Not doing so leads to dependencies unsatisfiable by backports (1.0-1~bpo
- << 1.0-1 while 1.0-1~bpo >= 1.0). If the debian revision can't
+ << 1.0-1 while 1.0-1~bpo >= 1.0). If the Debian revision can't
be stripped because the symbol really appeared between two specific
Debian revisions, you should postfix the version with a single "~"
(example: 1.0-3~ if the symbol appeared in 1.0-3).
diff --git a/debian/changelog b/debian/changelog
index f8dca02..fa28840 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,25 @@ lintian (2.5.47) UNRELEASED; urgency=medium
XXX: generate tag summary with private/generate-tag-summary
+ * checks/changelog-file.desc:
+ + [JW] Fix typo.
+ * checks/cruft.desc:
+ + [JW] Fix typo.
+ * checks/duplicate-files.desc:
+ + [JW] Fix typo.
+ * checks/fields.desc:
+ + [JW] Fix typos.
+ * checks/files.desc:
+ + [JW] Fix typos.
+ * checks/java.desc:
+ + [JW] Fix typo.
+ * checks/phppear.desc:
+ + [JW] Fix typo.
+ * checks/rules.desc:
+ + [JW] Fix typo.
+ * checks/shared-libs.desc:
+ + [JW] Fix typos.
+
* data/spelling/corrections*:
+ [JW] Add more corrections.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: