<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 16, 2015 at 3:16 PM, Sérgio Basto <span dir="ltr"><<a href="mailto:sergio@serjux.com" target="_blank">sergio@serjux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div><div class="h5"><br>
On Sex, 2015-05-15 at 21:50 -0700, Dave Johansen wrote:<br>
> On Sun, Apr 19, 2015 at 9:49 AM, Dave Johansen<br>
> <<a href="mailto:davejohansen@gmail.com">davejohansen@gmail.com</a>> wrote:<br>
> On Sat, Apr 18, 2015 at 2:38 PM, Matthew Miller<br>
> <<a href="mailto:mattdm@fedoraproject.org">mattdm@fedoraproject.org</a>> wrote:<br>
> On Sat, Apr 18, 2015 at 01:28:33PM -0700, Dave<br>
> Johansen wrote:<br>
> > What's the right way to handle github URLs?<br>
> Currently, I'm working on the<br>
> > spec file for breathe and the URL is<br>
><br>
> There's actually a section in the guidelines precisely<br>
> on this:<br>
><br>
> <a href="https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github</a><br>
><br>
><br>
> I'm not all that familiar with the details of github, so do<br>
> the downloads available in the "releases" section count as "If<br>
> the upstream does create tarballs" or not? If it does, then I<br>
> still have the same question about the URL. If not, then I'll<br>
> just use the method described in the referenced section of the<br>
> wiki.<br>
><br>
><br>
><br>
> For the sake of documentation, I ended up using the URL from<br>
> <a href="http://srcurl.net" rel="noreferrer" target="_blank">srcurl.net</a> like Sergio pointed out.<br>
<br>
</div></div>I found the solution in git-extras package .<br>
<br>
Name: git-extras<br>
Version: 2.2.0<br>
Source0:<br>
<a href="https://github.com/visionmedia/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz" rel="noreferrer" target="_blank">https://github.com/visionmedia/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz</a><br>
><br>
Also documented in<br>
<a href="https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs</a><br></blockquote><div><br></div><div>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 <a href="http://srcurl.net">srcurl.net</a>.<br></div><div>Thanks,<br></div><div>Dave <br></div></div></div></div>