bin/compile: Better automatic creation of source tarballs

For input to rpmbuild.