generate spec file on the fly and put in tarball so can be passed right to rpmbuild command