summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2009-06-23 10:56:53 +0200
committerJindrich Novy <jnovy@redhat.com>2009-06-23 11:02:51 +0200
commit27263f94bd18ea0d86b1b85511ef10a7f573aa92 (patch)
tree34a5be5452e28305d855442b65ca20ed2e2735d4 /build
parent194b6a5c2ab37753a143cd4d710bd09ccc0502e2 (diff)
downloadrpm-27263f94bd18ea0d86b1b85511ef10a7f573aa92.tar.gz
rpm-27263f94bd18ea0d86b1b85511ef10a7f573aa92.tar.bz2
rpm-27263f94bd18ea0d86b1b85511ef10a7f573aa92.zip
Allow ':' character in EVR, it's needed for Epoch separation
Diffstat (limited to 'build')
-rw-r--r--build/parseReqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseReqs.c b/build/parseReqs.c
index e2377964b..2d05d4155 100644
--- a/build/parseReqs.c
+++ b/build/parseReqs.c
@@ -167,7 +167,7 @@ rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTag tagN,
}
EVR = xmalloc((ve-v) + 1);
rstrlcpy(EVR, v, (ve-v) + 1);
- if (rpmCharCheck(spec, EVR, ve-v, ".-_+")) return RPMRC_FAIL;
+ if (rpmCharCheck(spec, EVR, ve-v, ".-_+:")) return RPMRC_FAIL;
re = ve; /* ==> next token after EVR string starts here */
} else
EVR = NULL;