fixed the bug of spec file