noarch subpackages

Farkas Levente lfarkas at lfarkas.org
Thu Jul 9 16:28:31 UTC 2009


Kevin Kofler wrote:
> 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

it'd be nice if _all_ packages which have noarch subpackage use this
since most fedora packager reply to my such patches that they don't care
about rhel/centos:-(

-- 
  Levente                               "Si vis pacem para bellum!"




More information about the fedora-devel-list mailing list