fixed mode of spec files