<div dir="ltr"><div>Actually, the GL are pretty clear here: the source should be referenced using the full commit, nothing else. There is some reasoning why. The tag should got to  Version: (as long its &#39;sane&#39;).<br>
<br></div>Besides that this is the existing GL, there is also a subtle difference in git-archive (which supposedly runs this).  When archiving  a tag, the sources gets today&#39;s date. OTOH, when archiving a commit,  the sources modification dates are their commit date. Last time I checked this was also true on github.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 6:09 PM, Richard Shaw <span dir="ltr">&lt;<a href="mailto:hobbes1069@gmail.com" target="_blank">hobbes1069@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Tue, Jan 21, 2014 at 11:06 AM, Miroslav Suchý <span dir="ltr">&lt;<a href="mailto:msuchy@redhat.com" target="_blank">msuchy@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 01/21/2014 06:01 PM, Kaleb KEITHLEY wrote:<br>
&gt;<br>
&gt; Take, for example, <a href="https://github.com/nfs-ganesha/nfs-ganesha/releases" target="_blank">https://github.com/nfs-ganesha/nfs-ganesha/releases</a>, where there&#39;s a button for &quot;Source code<br>
&gt; (tar.gz)&quot; pointing at <a href="https://github.com/nfs-ganesha/nfs-ganesha/archive/V2.0.0.tar.gz" target="_blank">https://github.com/nfs-ganesha/nfs-ganesha/archive/V2.0.0.tar.gz</a><br>
&gt;<br>
&gt; Note V2.0.0.tar.gz versus nfs-ganesha-2.0.0.tar.gz.<br>
&gt;<br>
&gt; If I click on that link the downloaded file is named nfs-ganesha-2.0.0.tar.gz by virtue of the Content-Disposition http<br>
&gt; header.<br>
&gt;<br>
&gt; Likewise if I use `curl -L ...` the downloaded file is named nfs-ganesha-2.0.0.tar.gz.<br>
&gt;<br>
&gt; But for my nfs-ganesha.spec file, if I use the github link shown above, I have to load a file V2.0.0.tar.gz into the<br>
&gt; look-aside cache. Anything else and rpm and rpmlint whine.<br>
&gt;<br>
&gt; Is there a best practice here that I&#39;m missing?<br>
<br>
</div><a href="https://fedoraproject.org/wiki/Packaging:SourceURL#Github" target="_blank">https://fedoraproject.org/wiki/Packaging:SourceURL#Github</a></blockquote><div><br></div><div><br></div></div><div>Interesting... However, if you&#39;re working with an actual release tag, I would think Peter&#39;s method would be much better.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Richard </div></font></span></div></div></div>
<br>--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br></blockquote></div><br></div>