On Sáb, 2015-04-18 at 23:11 +0100, Sérgio Basto wrote:
On Sáb, 2015-04-18 at 13:28 -0700, Dave Johansen wrote:
What's the right way to handle github URLs? Currently, I'm working on the spec file for breathe and the URL is https://github.com/michaeljones/breathe/archive/v4.0.0.tar.gz and the actual file that's downloaded is breathe-4.0.0.tar.gz. How do I make that play nice in the spec file and with rpmlint?
Thanks,
Dave
from https://lists.fedoraproject.org/pipermail/packaging/2014-September/010287.ht...
you got a webservice that redirects url correctly, for example on pngquant:
-Source0: https://github.com/pornel/%%7Bname%7D/archive/%%7Bname%7D-%%7Bversion%7D.tar...
+Source0: http://github.srcurl.net/pornel/%%7Bname%7D/%%7Bversion%7D/%%7Bname%7D-%%7Bv...
but just work for releases of github and not for tags of guthub , at least don't found a way to work on tags ... . So I use srcurl.net for review package and remove it after (because doesn't worked on tags )
I think, I got confused with tags and releases . Now it seems they work exactly in same way ... . It is hard to say, I don't know if github change since then, sorry about introducing confusion about tags .
Best regards ,