noarch subpackages

Michael Schwendt mschwendt at gmail.com
Wed Jul 8 15:06:39 UTC 2009


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




More information about the devel mailing list