<div dir="ltr"><div class="gmail_extra">Packagers, please avoid using a dedicated Release: field for the case of a snapshot at all price.<br><br></div><div class="gmail_extra">This break the rebuild script (at the rpmdev-bumpspec step) because it confuses the tool when the appropriate release field is in second position whereas the first one was updated.<br>
<br></div><div class="gmail_extra">Instead try to use something like &quot;if is defined&quot; macro similar to the %{?dist} one to handle the condition.<br></div><div class="gmail_extra">Here is an example:<br></div><div class="gmail_extra">
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-26 15:47 GMT+02:00 Nicolas Chauvet <span dir="ltr">&lt;<a href="mailto:kwizart@rpmfusion.org" target="_blank">kwizart@rpmfusion.org</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
 Version:        1.6.6<br>
-%if 0%{?pre}<br>
-Release:        0.%{pre}%{?dist}.2<br>
-%else<br>
-Release:        1%{?dist}<br>
-%endif<br>
+Release:        %{?pre:0.}1%{?pre}%{?dist}.1<br>
 Summary:        Kernel module(s)<br>
<br>
 Group:          System Environment/Kernel<br></blockquote></div><br></div></div>