About making noarch package arch specific, when contents differ.

Peter Robinson pbrobinson at gmail.com
Tue Jul 28 08:01:01 UTC 2015

On Tue, Jul 28, 2015 at 2:34 AM, Dan Callaghan <dcallagh at redhat.com> wrote:
> Excerpts from paulo.cesar.pereira.de.andrade's message of 2015-07-27 00:05 +10:00:
>> Should I make the doc packages arch specific?
> Rather than trying to make Sphinx spit out bitwise-identical output on
> every arch (which sounds like fighting a losing battle), could you just
> build the doc subpackage on only one arch?
> %ifarch x86_64
> %package doc
> BuildArch: noarch
> ...
> %endif
> I think Koji still counts this a regular noarch subpackage and it should
> therefore be included in the Fedora trees for all arches.


This is completely NOT appropriate, it breaks on secondary arches
where they then end up with no documentation due to the lack of any
x86_64. Please DO NOT do this and please revert the change on any
packages you might have made this change.

More information about the devel mailing list