Created attachment 1070781 [details] Compress source archive Description of problem: While working with the mesa package, I noticed that the source archive created by the included Makefile is not compressed; the attached patch fixes this. This patch reduces the size of the source archive from 60+ MB to 6 MB and the size of the source RPM from 20+ MB to ~6 MB. The patch is for the f22 branch but should apply to all other branches.
it's by purpose to have git tag in build.
Ah, OK, that makes sense; I am sorry for not noticing that. I could work on a patch to make the hash available without the need for a .git directory, though, if that would be okay for you (should be enough to simply create the git_sha1.h file during %setup). Please still think about at least including the J flag when building the .tar.xz file, otherwise it is not compressed at all. This reduces the tarball's size from 70 MB to 20 MB (and the SRPM's size from 23 MB to 20 MB; not a lot, but still…).
now we use upstream tarballs, so it's okay now.