summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/parseReqs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/parseReqs.c b/build/parseReqs.c
index 4d7e8e8bf..ea16a4ef4 100644
--- a/build/parseReqs.c
+++ b/build/parseReqs.c
@@ -49,8 +49,11 @@ static rpmRC checkDep(rpmSpec spec, char *N, char *EVR, char **emsg)
* the spec's encoding so we only check what we can: plain ascii.
*/
if (isascii(N[0]) && !(risalnum(N[0]) || N[0] == '_' || N[0] == '/')) {
- rasprintf(emsg, _("Dependency tokens must begin with alpha-numeric, '_' or '/'"));
- return RPMRC_FAIL;
+ //rasprintf(emsg, _("Dependency tokens must begin with alpha-numeric, '_' or '/'"));
+ rpmlog(RPMLOG_INFO,
+ _("line %d: Dependency tokens must begin with alpha-numeric, '_' or '/': %s\n"),
+ spec->lineNum, spec->line);
+ //return RPMRC_FAIL;
}
if (EVR) {
if (N[0] == '/') {