spec_dir accept array of directories