summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-03-07 10:03:34 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-11 17:48:02 +0300
commita8154527cb82ded6f7b6f8ecd248946f708b0f8f (patch)
tree66bfa3c4b20edf55e7825566c4bf43b644597816 /build
parentd3c0e404fb0eb66b52f9e838844c0a26ebffcf13 (diff)
downloadlibrpm-tizen-a8154527cb82ded6f7b6f8ecd248946f708b0f8f.tar.gz
librpm-tizen-a8154527cb82ded6f7b6f8ecd248946f708b0f8f.tar.bz2
librpm-tizen-a8154527cb82ded6f7b6f8ecd248946f708b0f8f.zip
Relax checking of dependency tags
Allow any value for dependency tags (Requires, BuildRequires etc). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'build')
-rw-r--r--build/parseReqs.c5
1 files changed, 3 insertions, 2 deletions
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;