build tar.gz file from source and use it to build RPM package