aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-08-12 11:38:21 +0200
committerGuido Günther <agx@sigxcpu.org>2020-08-12 11:46:14 +0200
commit1d922d7229e91366d87e98a25287fa91fe534dc4 (patch)
treef26b793fb2931da1d4e9dc7b58175883c0a26074
parent7179893620b3cdcaf199790f345ece805ef9c1f1 (diff)
policy: Fix typos
Thanks: Andrius Merkys Closes: #966130
-rw-r--r--gbp/deb/policy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/deb/policy.py b/gbp/deb/policy.py
index d05d05cb..08b01a03 100644
--- a/gbp/deb/policy.py
+++ b/gbp/deb/policy.py
@@ -45,7 +45,7 @@ class DebianPkgPolicy(PkgPolicy):
# characters long and must start with an alphanumeric character."
packagename_re = re.compile(r'^[a-zA-Z0-9][a-zA-Z0-9\.\+\-~]+$')
packagename_msg = """Package names must be at least two characters long, start with an
- alphanumeric and can only containg letters (a-z,A-Z), digits
+ alphanumeric and can only contain letters (a-z,A-Z), digits
(0-9), plus signs (+), minus signs (-), periods (.) and hyphens (~)"""
# Valid upstream versions according to Debian Policy Manual 5.6.12:
@@ -56,7 +56,7 @@ class DebianPkgPolicy(PkgPolicy):
# Since we don't know about any epochs and debian revisions yet, the
# last two conditions are not checked.
upstreamversion_re = re.compile(r'^[0-9][a-zA-Z0-9\.\+\-\:\~]*$')
- upstreamversion_msg = """Upstream version numbers must start with a digit and can only containg lower case
+ upstreamversion_msg = """Upstream version numbers must start with a digit and can only contain lower case
letters (a-z), digits (0-9), full stops (.), plus signs (+), minus signs
(-), colons (:) and tildes (~)"""