Group: i18n

CVS patchset: 2145
CVS date: 1998/06/08 00:12:17
This commit is contained in:
marc 1998-06-08 00:12:17 +00:00
parent 1499694167
commit 34d149ffda
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@
- fix bug packing /usr/doc when last file was %dir
- added --last alias
- fix :depflags query format
- Group: i18n (like Summary:)
2.5 -> 2.5.1:
- fail if sources are not regular files

View File

@ -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"}, */