Allow spaces in group names.
authormarc <devnull@localhost>
Sat, 21 Feb 1998 00:02:50 +0000 (00:02 +0000)
committermarc <devnull@localhost>
Sat, 21 Feb 1998 00:02:50 +0000 (00:02 +0000)
CVS patchset: 2009
CVS date: 1998/02/21 00:02:50

build/parsePreamble.c

index f8ddaa3..de26675 100644 (file)
@@ -329,9 +329,9 @@ static int handlePreambleTag(Spec spec, Package pkg, int tag, char *macro,
       case RPMTAG_NAME:
       case RPMTAG_VERSION:
       case RPMTAG_RELEASE:
-      case RPMTAG_GROUP:
       case RPMTAG_URL:
        SINGLE_TOKEN_ONLY;
+      case RPMTAG_GROUP:
        /* These are for backward compatibility */
        if (tag == RPMTAG_VERSION) {
            addMacro(&spec->macros, "PACKAGE_VERSION", field);