thunderbird-enigmail: help needed to restrict available architectures


recently I took thunderbird-enigmail to fix some CVEs + unbreak the package.
With the help of two Fedora users I updated the package + improved the spec
file (I hope :-).

Now I wanted to push out an update but taskotron complains:

While thunderbird-enigmail is a noarch package it requires thunderbird which
is not available on all platforms.

Thunderbird excludes the following architectures:
So my idea was just to mirror that in the thunderbird-enigmail spec file but
that leads to the taskotron error above.
(I did not find anything in enigmail's spec file which explains how to deal
with that situation or why it was no issue previously.)

How can I resolve this issue? Can I ignore the error?

thank you


Re: thunderbird-enigmail: help needed to restrict available arch

By Fabio Valentini at 11/12/2019 - 07:37

On Tue, Nov 12, 2019 at 10:48 AM Felix Schwarz
< ... at fedoraproject dot org> wrote:
There's a specific section about this issue in the Packaging Guidelines:
<a href="" title=""></a>

So, in your case, I think you'd have to use something like this:
BuildArch: noarch
ExclusiveArch: x86_64 %{ix86} aarch64 ppc64le noarch


Re: thunderbird-enigmail: help needed to restrict available arch

By Felix Schwarz at 11/12/2019 - 07:43

Hi Fabio,

Am 12.11.19 um 13:37 schrieb Fabio Valentini:
I read this paragraph but it also says:
"You can limit both the architectures used to build a noarch package, and the
repositories to which the built noarch package will be added, by using either
the ExcludeArch: or ExclusiveArch: tags:"

English is not my first language but I understood this as if I could use also
"ExcludeArch" (which I did as it matches Thunderbird better).