Make spec file optional