<br><br>
<div class="gmail_quote">On Thu, Jul 9, 2009 at 8:50 PM, Rick L. Vinyard, Jr. <span dir="ltr"><<a href="mailto:rvinyard@cs.nmsu.edu">rvinyard@cs.nmsu.edu</a>></span> wrote:<br>
<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>> On Thu, 2009-07-09 at 18:28 +0200, Farkas Levente wrote:<br>>> > Except it should be:<br>>> > %if 0%{?fedora} > 9 || 0%{?rhel} > 5<br>>><br>>> it'd be nice if _all_ packages which have noarch subpackage use this<br>
>> since most fedora packager reply to my such patches that they don't care<br>>> about rhel/centos:-(<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>> %if 0%{?fedora} > 9 || 0%{?rhel} > 5<br>> BuildArch:    noarch<br>> %endif<br><br></div>Yes, it really should. Otherwise, some will look like:<br>
<div class="im"><br>%if 0%{?fedora} > 9<br>BuildArch:      noarch<br>%endif<br><br></div>and others like:<br>
<div class="im"><br>%if 0%{?fedora} > 9 || 0%{?rhel} > 5<br>BuildArch:      noarch<br>%endif<br><br></div>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.</blockquote>
<div> </div>
<div>So you agreed that the check is on the rpm version, not "distro" version.</div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">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></blockquote></div><br>