From 5e7ca9eac40f7fce940acd8b1c23e2af847478d1 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 12 Sep 2008 15:22:02 +0300 Subject: [PATCH] headerAddEntry() is deprecated, use headerPutString() instead --- build/parsePreamble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/parsePreamble.c b/build/parsePreamble.c index f39ee9a..09fd88c 100644 --- a/build/parsePreamble.c +++ b/build/parsePreamble.c @@ -652,7 +652,7 @@ static int handlePreambleTag(rpmSpec spec, Package pkg, rpmTag tag, BANames = _free(BANames); return RPMRC_FAIL; } - headerAddEntry(pkg->header, RPMTAG_ARCH, RPM_STRING_TYPE, "noarch", 1); + headerPutString(pkg->header, RPMTAG_ARCH, "noarch"); } if (!BACount) spec->BANames = _free(spec->BANames); -- 2.7.4