summaryrefslogtreecommitdiff
path: root/build/parsePreamble.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parsePreamble.c')
-rw-r--r--build/parsePreamble.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index 523e452e3..c2a7f6ead 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -1035,16 +1035,16 @@ int parsePreamble(rpmSpec spec, int initialPackage)
SKIPSPACE(linep);
if (*linep != '\0') {
if (findPreambleTag(spec, &tag, &macro, lang)) {
- rpmlog(RPMLOG_ERR, _("line %d: Unknown tag: %s\n"),
+ rpmlog(RPMLOG_INFO, _("line %d: Unknown tag: %s\n"),
spec->lineNum, spec->line);
- goto exit;
- }
- if (handlePreambleTag(spec, pkg, tag, macro, lang)) {
- goto exit;
- }
- if (spec->BANames && !spec->recursing) {
- res = PART_BUILDARCHITECTURES;
- goto exit;
+ } else {
+ if (handlePreambleTag(spec, pkg, tag, macro, lang)) {
+ goto exit;
+ }
+ if (spec->BANames && !spec->recursing) {
+ res = PART_BUILDARCHITECTURES;
+ goto exit;
+ }
}
}
if ((rc =