Description: Correct some typographical errors.
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2021-02-11

--- a/modulemd/include/modulemd-2.0/modulemd-module-stream.h
+++ b/modulemd/include/modulemd-2.0/modulemd-module-stream.h
@@ -32,7 +32,7 @@
 /**
  * MMD_MAXCONTEXTLEN:
  *
- * The ModuleStream v3 specification defines the maximum lenth of the context
+ * The ModuleStream v3 specification defines the maximum length of the context
  * field.
  *
  * Since: 2.10
--- a/modulemd/include/modulemd-2.0/modulemd-module.h
+++ b/modulemd/include/modulemd-2.0/modulemd-module.h
@@ -326,7 +326,7 @@
  * @context: (in) (nullable): The stream context to look up obsoletes for.
  *
  * Returns: (transfer none): The newest active obsoletes attached to this module with
- * specified stream and context (when eol_date is not set or it already occured
+ * specified stream and context (when eol_date is not set or it already occurred
  * the obsoletes is active). If no context is passed it matches obsoletes without context.
  *
  * Since: 2.10
--- a/modulemd/include/modulemd-2.0/modulemd-obsoletes.h
+++ b/modulemd/include/modulemd-2.0/modulemd-obsoletes.h
@@ -246,8 +246,8 @@
  * @self: (in): This #ModulemdObsoletes object.
  *
  * Returns: If this #ModulemdObsoletes object has eol_date set and the
- * date has not occured yet it returns false otherwise it returns true.
- * (When eol_date is not set or it already occured the obsoletes is active.)
+ * date has not occurred yet it returns false otherwise it returns true.
+ * (When eol_date is not set or it already occurred the obsoletes is active.)
  *
  * Since: 2.10
  */
--- a/modulemd/modulemd-module-index.c
+++ b/modulemd/modulemd-module-index.c
@@ -1603,7 +1603,7 @@
 
           if (obsoletes)
             {
-              /* Add obsoletes, overriding if we enounter one with
+              /* Add obsoletes, overriding if we encounter one with
                * identical module, stream, context and modified time.
                */
               if (!modulemd_module_index_add_obsoletes (
