fix a bug with the file exclude list in the spec file