<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 3:16 PM, Sérgio Basto <span dir="ltr">&lt;<a href="mailto:sergio@serjux.com" target="_blank">sergio@serjux.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":gr" class="" style="overflow:hidden">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><div style="display:inline-block;width:16px;height:16px"> </div><br>
&gt;</div></blockquote></div><div class="gmail_extra"><br></div>Relating to Github:</div><div class="gmail_extra"><a href="https://fedoraproject.org/wiki/Packaging:SourceURL#Github">https://fedoraproject.org/wiki/Packaging:SourceURL#Github</a></div><div class="gmail_extra"><br>One thing to remember is the use of the snapshot guidelines; you&#39;ll want to do that unless you are using a release tag commit.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Several ways to handle:  one is to add:</div><div class="gmail_extra"><br></div><div class="gmail_extra">%global checkout YYYYMMDDgit%shortcommit  </div><div class="gmail_extra">(where YYYY = year, MM = month, DD day you pulled the commit)</div><div class="gmail_extra"><br></div><div class="gmail_extra">There is a bit of discretion left to the packager to the ultimate format of </div><div class="gmail_extra">%{checkout} - but I did a quick search and found most folks were using the</div><div class="gmail_extra">format outlined above, so I figured go with the crowd.   </div><div class="gmail_extra"><br></div><div class="gmail_extra">then Release n.%{checkout}%{?dist}</div><div class="gmail_extra"><br></div><div class="gmail_extra">finally in %changelog, don&#39;t forget to add the %{checkout} information to your release version there or you&#39;ll get a mismatch.  </div><div class="gmail_extra"><br></div><div class="gmail_extra">Also, you need to manual state the information, i.e.:  n.n.n.YYYYMMDDgitnnnnnnnn - you&#39;ll get an error if you try to actually use %{checkout} in %changelog.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I just went through all this, so it&#39;s fresh in my mind... ;-)</div><div class="gmail_extra"><br></div><div class="gmail_extra">If anyone else has any recommendations on this, would appreciate reading them.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks!</div></div>