<br><br><div class="gmail_quote">2009/5/4 Mike A. Harris <span dir="ltr"><<a href="mailto:mharris@mharris.ca">mharris@mharris.ca</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Gagadget wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear listers,<br>
<br>
BIND has a version numbering system like this : Major.Medium.Minor-Ppatchlevel, with -Ppatchlevel only exists if patchlevel > 0. For instance, the source are named like that :<br>
<br>
bind-9.5.2-P2.tar.gz<br>
bind-9.6.0-P1.tar.gz<br>
bind-9.2.9.tar.gz<br>
<br>
I try to define a generic spec file for BIND packaging, here is what I did :<br>
<br>
%define VERSION 9.6.0<br>
</blockquote>
<br></div>
This define is redundant and unnecessary.  Just put the version directly in the "Version:" tag, and rpm does the right thing.<br>
<br>
Version: 9.6.0<br><font color="#888888">
</font></blockquote><div><br>rpmbuild refuse to have "-" in Version tag.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>
--<br>
Fedora-packaging mailing list<br>
<a href="mailto:Fedora-packaging@redhat.com" target="_blank">Fedora-packaging@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-packaging" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-packaging</a><br>
</font></blockquote></div><br>