--- file-5.05/src/names.h.vinenames 2010-10-09 06:58:44.000000000 +0900 +++ file-5.05/src/names.h 2011-02-11 17:50:30.000000000 +0900 @@ -55,6 +55,7 @@ #define L_BCPL 11 /* BCPL */ #define L_M4 12 /* M4 */ #define L_PO 13 /* PO */ +#define L_SPEC 14 /* Spec */ static const struct { char human[48]; @@ -74,6 +75,7 @@ { "BCPL program", "text/x-bcpl" }, { "M4 macro language pre-processor", "text/x-m4" }, { "PO (gettext message catalogue)", "text/x-po" }, + { "spec file", "text/x-spec" }, { "cannot happen error on names.h/types", "error/x-error" } }; @@ -121,6 +123,10 @@ } names[] = { /* These must be sorted by eye for optimal hit rate */ /* Add to this list only after substantial meditation */ + {"Buildroot:", L_SPEC, 2 }, + {"BuildRoot:", L_SPEC, 2 }, + {"%prep:", L_SPEC, 2 }, + {"%setup:", L_SPEC, 2 }, {"msgid", L_PO, 1 }, {"dnl", L_M4, 2 }, {"import", L_JAVA, 2 },