Hi,
On Sex, 2015-05-15 at 21:50 -0700, Dave Johansen wrote:
On Sun, Apr 19, 2015 at 9:49 AM, Dave Johansen davejohansen@gmail.com wrote: On Sat, Apr 18, 2015 at 2:38 PM, Matthew Miller mattdm@fedoraproject.org wrote: On Sat, Apr 18, 2015 at 01:28:33PM -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
There's actually a section in the guidelines precisely on this: https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github I'm not all that familiar with the details of github, so do the downloads available in the "releases" section count as "If the upstream does create tarballs" or not? If it does, then I still have the same question about the URL. If not, then I'll just use the method described in the referenced section of the wiki.
For the sake of documentation, I ended up using the URL from srcurl.net like Sergio pointed out.
I found the solution in git-extras package .
Name: git-extras Version: 2.2.0 Source0: https://github.com/visionmedia/%%7Bname%7D/archive/%%7Bversion%7D.tar.gz#/%%...
Also documented in https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs
And also succeeds in fedora-review !
Source checksums ---------------- https://github.com/visionmedia/git-extras/archive/2.2.0.tar.gz#/git-extras-2... : CHECKSUM(SHA256) this package : 6a933114d276761a078e653a961566d9517a6a4eaadacb62e655d39481548f63 CHECKSUM(SHA256) upstream package : 6a933114d276761a078e653a961566d9517a6a4eaadacb62e655d39481548f63
Best regards,