Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 4, 2016
1 parent 2258825 commit ebf6aa1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/rpmspec.8
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Operate on the source package header(s) generated from spec.

.SH EXAMPLES
.PP
Get list of binary packages wich would be generated from the rpm spec file:
Get list of binary packages which would be generated from the rpm spec file:
.PP
.RS 4
.nf
Expand Down
2 changes: 1 addition & 1 deletion lib/rpmfi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2157,7 +2157,7 @@ static int iterReadArchiveNextContentFirst(rpmfi fi)
return fx;
}
}
/* should never happend */
/* should never happen */
return -1;
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion lib/rpmtriggers.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int runPostUnTransFileTrigs(rpmts ts)
trigH = rpmdbGetHeaderAt(rpmtsGetRdb(ts),
trigs->triggerInfo[i].hdrNum);

/* Maybe package whith this trigger is already uninstalled */
/* Maybe package with this trigger is already uninstalled */
if (trigH == NULL)
continue;

Expand Down
2 changes: 1 addition & 1 deletion misc/rpmxprogname.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ char *_rpmxgetprogname(void)
void _rpmxsetprogname(const char *pn)
{
if (pn != NULL && _rpmxprogname == NULL /* set the value only once */) {
char *p = strrchr(pn, '/'); /* locate the last occurence of '/' */
char *p = strrchr(pn, '/'); /* locate the last occurrence of '/' */
if (p != NULL)
_rpmxprogname = p + 1 /* strip beginning '/' */;
else
Expand Down
2 changes: 1 addition & 1 deletion python/rpm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ def dsSingle(TagN, N, EVR="", Flags=RPMSENSE_ANY):
"""
Creates a single entry dependency set (ds)
dsSingle(RPMTAG_CONFLICTNAME, "rpm") correspons to "Conflicts: rpm"
dsSingle(RPMTAG_CONFLICTNAME, "rpm") corresponds to "Conflicts: rpm"
"""
return ds((N, Flags, EVR), TagN)

0 comments on commit ebf6aa1

Please sign in to comment.