diff options
author | marc <devnull@localhost> | 1998-06-08 00:12:17 +0000 |
---|---|---|
committer | marc <devnull@localhost> | 1998-06-08 00:12:17 +0000 |
commit | 34d149ffdaada50c8889b5c3592562965e6e90c5 (patch) | |
tree | 07670f379f6067de08c9477bae9c46cf5bc82116 /build/parsePreamble.c | |
parent | 14996941672975dbbb02e8a40cc5efb7241395a9 (diff) | |
download | librpm-tizen-34d149ffdaada50c8889b5c3592562965e6e90c5.tar.gz librpm-tizen-34d149ffdaada50c8889b5c3592562965e6e90c5.tar.bz2 librpm-tizen-34d149ffdaada50c8889b5c3592562965e6e90c5.zip |
Group: i18n
CVS patchset: 2145
CVS date: 1998/06/08 00:12:17
Diffstat (limited to 'build/parsePreamble.c')
-rw-r--r-- | build/parsePreamble.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"}, */ |