Add build option of spec file