On 11/05/12 09:43, Pádraig Brady wrote: > On 05/11/2012 07:43 AM, Matthias Runge wrote: >> There has been a thread about github being bad upstream. It included a >> scriptlet to do a fresh checkout, tar.gz etc. Really nice. If you're >> interested, I'll search for that in my .spec files. > > http://lists.fedoraproject.org/pipermail/devel/2012-April/thread.html#166143 > > cheers, > Pádraig. Yeah, that was it! thank you, Pádraig! something like this (taken from that thread) #!/bin/sh # usage: tcplay-get-snapshot.sh <hash> git clone git://github.com/bwalex/tc-play ( cd tc-play && \ git archive --format=tar --prefix=tcplay-$1/ $1 \ ) | xz - >tcplay-$1.tar.xz or that (also from that thread): %global commit bd245c9 Source0: https://github.com/jukka/pcfi/tarball/%{commit}/jukka-pcfi-%{commit}.tar.gz %setup -q -n jukka-pcfi-%{commit} should work for you. -- Matthias Runge <mrunge@xxxxxxxxxxxxxxxxx> <mrunge@xxxxxxxxxxxxxxxxx> _______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud