[Rpm-maint] [patch] noarch subpackages
Michal Marek
mmarek at suse.cz
Fri Mar 28 10:02:47 UTC 2008
Pixel wrote:
> http://www.mail-archive.com/rpm-devel@rpm5.org/msg02055.html
> http://www.mail-archive.com/rpm-devel@rpm5.org/msg00211.html
Thanks for the links.
> for the record, instead of %_noarch_packages, we could use BuildArch
> and still be backward compatible (as far as i have tested...):
>
> - force "BuildArch: %_target_cpu" in main package
> - add "BuildArch: noarch" to sub-packages which should be noarch
>
> since currently rpm takes the first BuildArch
> (tested on rpm 4.4.2.3 and 4.4.8)
Indeed that seems to work (i.e. is ignored) and looks a bit cleaner.
Michal
More information about the Rpm-maint
mailing list