SPEC file for websockify

Matthias Runge mrunge at matthias-runge.de
Fri May 11 09:23:21 UTC 2012


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 at matthias-runge.de>
               <mrunge at fedoraproject.org>



More information about the cloud mailing list