For me, creating a tar.gz archive is redundant because I export the source code from svn. Perhaps you can make an rpm archive without automatically unpacking the archive? (Perhaps it is only possible to copy files from the source folder for the assembly or something like this)?
source share