<div class="gmail_quote">On Thu, Jul 9, 2009 at 10:14 PM, Jussi Lehtola <span dir="ltr"><<a href="mailto:jussilehtola@fedoraproject.org">jussilehtola@fedoraproject.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Lainaus yersinia <<a href="mailto:yersinia.spiros@gmail.com" target="_blank">yersinia.spiros@gmail.com</a>>:<br>
<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Thu, Jul 9, 2009 at 8:50 PM, Rick L. Vinyard, Jr.<br><<a href="mailto:rvinyard@cs.nmsu.edu" target="_blank">rvinyard@cs.nmsu.edu</a>>wrote:<br><br></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Jussi Lehtola wrote:<br><br>> This should really be a macro in rpm, as it has to be duplicated in so<br>> many places. Say, %{_noarch_subpackage} which would expand to<br><br></div>
<div class="im">Yes, it really should. Otherwise, some will look like:<br></div></blockquote></blockquote><br>clip 
<div class="im"><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">If you need further proof of the confusion simply look to this thread.<br><br>Plus it is more expressive as to what the intent of the check is for,<br>
allowing a smoother migration process if, in the future, a check is put in<br>for the rpm version.<br></blockquote><br><br>So you agreed that the check is on the rpm version, not "distro" version.<br></blockquote>
<br></div>That would be up to the distro guys to do, since they can define the macro how they wish. </blockquote>
<div> </div>
<div>He, macro %configure exist everywhere. Not bad at all to have everywhere a rpm_version macro upstream. Also in the past this could be useful (think to the %check stanza)</div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><span></span>SuSe might define it to use their corresponding %{dist} variable. Or, it could be defined to evaluate to empty, if the rpm version doesn't support it. Or, it could evaluate just the noarch bit.<br>
<br>The beauty of this is, of course, that you could even skip the conditionals and just define the macro per distro basis (e.g. in the redhat-rpm-macros package): the macro in F-10 could be just %{nil} and in F-11 "BuildArch: noarch".<br>
<br>There has been some discussion about versioning rpm specfiles, but I don't know whether that discussion lead anywhere. 
<div class="im"></div></blockquote>
<div> </div>
<div>Noone care of this. the rpm world is different from the deb world : it is just a matter of fact, not sharp criticism at all.</div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im"><span></span><br>-- <br>Jussi Lehtola<br>Fedora Project Contributor<br><a href="mailto:jussilehtola@fedoraproject.org" target="_blank">jussilehtola@fedoraproject.org</a><br><br><br>-- <br></div>
<div>
<div></div>
<div class="h5">fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com" target="_blank">fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>
</div></div></blockquote></div><br>