teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone
Blob Blame History Raw
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index f29434276..e7cfdee51 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -1039,7 +1039,7 @@ static struct PreambleRec_s const preambleList[] = {
     {RPMTAG_PREFIXES,		0, 0, 1, LEN_AND_STR("prefix")},
     {RPMTAG_BUILDROOT,		0, 0, 0, LEN_AND_STR("buildroot")},
     {RPMTAG_BUILDARCHS,		0, 0, 0, LEN_AND_STR("buildarchitectures")},
-    {RPMTAG_BUILDARCHS,		0, 0, 0, LEN_AND_STR("buildarch")},
+    {RPMTAG_BUILDARCHS,		0, 0, 1, LEN_AND_STR("buildarch")},
     {RPMTAG_BUILDCONFLICTS,	0, 0, 0, LEN_AND_STR("buildconflicts")},
     {RPMTAG_BUILDPREREQ,	0, 1, 0, LEN_AND_STR("buildprereq")},
     {RPMTAG_BUILDREQUIRES,	0, 0, 0, LEN_AND_STR("buildrequires")},