When the file list contains a %doc line with an absolute path specification, e.g.: %doc %_docdir/%name-%version/{AUTHORS,README,TODO} , the brace expansion doesn\'t occur, whereas a relative spec expands braces just fine: %doc subdir/{README,TODO} --- ---
As well as in other %files lines. It is not a bug report but feature request.
But the relative form of %doc expands braces. It\'s inconsistent behaviour at least.
In bourne shell, brace expansion is a separate stage of substitution that is prefromed BEFORE glob. There is no such stage in %files section. However, glob(3) has GLOB_BRACE option, which we may want (or may not want to use).