On Tue, Jun 16, 2015 at 3:16 PM, Sérgio Basto sergio@serjux.com wrote:
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#Gi...
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
I tried that with the .spec files that I had been running into this issue with and it worked, so I will use this method instead of srcurl.net. Thanks, Dave