noarch subpackages

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Jul 9 16:51:59 UTC 2009


On Thu, 2009-07-09 at 18:28 +0200, Farkas Levente wrote:
> > 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:-(

This should really be a macro in rpm, as it has to be duplicated in so
many places. Say, %{_noarch_subpackage} which would expand to

%if 0%{?fedora} > 9 || 0%{?rhel} > 5
BuildArch:	noarch
%endif
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org




More information about the fedora-devel-list mailing list