Re: noarch subpackages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick L. Vinyard, Jr. wrote:

> Michael Schwendt wrote:
>> On Wed, 8 Jul 2009 07:59:43 -0600, Jr. wrote:
>>
>>> What is the effect on non-Fedora and older distributions (pre F10) if I
>>> mark a subpackage (such as documentation) with BuildArch: noarch?
>>
>> You can evaluate the %fedora variable to use this new feature only
>> for Fedora >= 10:
>>
>> %if 0%{?fedora} > 9
>> BuildArch: noarch
>> %endif
>>
> 
> Excellent. That's what I was looking for.

Except it should be:
%if 0%{?fedora} > 9 || 0%{?rhel} > 5

        Kevin Kofler


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux