Added white list of patterns to spec file parsing.