<div class="gmail_quote">On Wed, Jul 8, 2009 at 5:07 PM, Rick L. Vinyard, Jr. <span dir="ltr"><<a href="mailto:rvinyard@cs.nmsu.edu">rvinyard@cs.nmsu.edu</a>></span> wrote:<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">Michael Schwendt wrote:<br>
> On Wed, 8 Jul 2009 07:59:43 -0600, Jr. wrote:<br>
><br>
>> What is the effect on non-Fedora and older distributions (pre F10) if I<br>
>> mark a subpackage (such as documentation) with BuildArch: noarch?<br>
><br>
> You can evaluate the %fedora variable to use this new feature only<br>
> for Fedora >= 10:<br>
><br>
> %if 0%{?fedora} > 9<br>
> BuildArch: noarch<br>
> %endif<br>
><br>
<br>
</div>Excellent. That's what I was looking for.<br>
<div><div></div><div class="h5"></div></div></blockquote><div><br>No, it is not right for me. The BuildArch issue depends on the RPM version and not from from distro version. It is simply bad style, IMHO, defining<br>in the SPEC file something that depends from the "distribution" (in the large sense not only fedora). I never see <br>
this style in RHEL package (appart some little package for the rpm keys ecc). Ok is SUSE yes but, again, i don't like define a dependency based on<br>a "distro" version, if possible anyway.<br><br>regards <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><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>
</div></div></blockquote></div><br>