better regexp for spec files