From a8154527cb82ded6f7b6f8ecd248946f708b0f8f Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 7 Mar 2013 10:03:34 +0200 Subject: Relax checking of dependency tags Allow any value for dependency tags (Requires, BuildRequires etc). Signed-off-by: Markus Lehtonen --- build/parseReqs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/parseReqs.c b/build/parseReqs.c index 1507090d3..f9fb2fcda 100644 --- a/build/parseReqs.c +++ b/build/parseReqs.c @@ -123,8 +123,9 @@ rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTagVal tagN, * the spec's encoding so we only check what we can: plain ascii. */ if (isascii(r[0]) && !(risalnum(r[0]) || r[0] == '_' || r[0] == '/')) { - emsg = _("Dependency tokens must begin with alpha-numeric, '_' or '/'"); - goto exit; + rpmlog(RPMLOG_INFO, + _("line %s: Dependency tokens must begin with alpha-numeric, '_' or '/': %s\n"), + spec->lineNum, spec->line); } re = r; -- cgit v1.2.3