From 34d149ffdaada50c8889b5c3592562965e6e90c5 Mon Sep 17 00:00:00 2001 From: marc Date: Mon, 8 Jun 1998 00:12:17 +0000 Subject: Group: i18n CVS patchset: 2145 CVS date: 1998/06/08 00:12:17 --- build/parsePreamble.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/parsePreamble.c') diff --git a/build/parsePreamble.c b/build/parsePreamble.c index cf503415c..eb3c5b324 100644 --- a/build/parsePreamble.c +++ b/build/parsePreamble.c @@ -342,7 +342,6 @@ static int handlePreambleTag(Spec spec, Package pkg, int tag, char *macro, case RPMTAG_RELEASE: case RPMTAG_URL: SINGLE_TOKEN_ONLY; - case RPMTAG_GROUP: /* These are for backward compatibility */ if (tag == RPMTAG_VERSION) { addMacro(&spec->macros, "PACKAGE_VERSION", field); @@ -350,6 +349,7 @@ static int handlePreambleTag(Spec spec, Package pkg, int tag, char *macro, addMacro(&spec->macros, "PACKAGE_RELEASE", field); } /* fall through */ + case RPMTAG_GROUP: case RPMTAG_SUMMARY: case RPMTAG_DISTRIBUTION: case RPMTAG_VENDOR: @@ -513,7 +513,7 @@ static struct PreambleRec { {RPMTAG_COPYRIGHT, 0, 0, "license"}, {RPMTAG_DISTRIBUTION, 0, 0, "distribution"}, {RPMTAG_VENDOR, 0, 0, "vendor"}, - {RPMTAG_GROUP, 0, 0, "group"}, + {RPMTAG_GROUP, 0, 1, "group"}, {RPMTAG_PACKAGER, 0, 0, "packager"}, {RPMTAG_URL, 0, 0, "url"}, /* {RPMTAG_ROOT, 0, "root"}, */ -- cgit v1.2.3