Generating a spec file for the SRPM generation