3 Apr
2023
3 Apr
'23
13:57
On Montag, 3. April 2023 15:11:18 CEST Johannes Kastl wrote:
Hi Dominique,
On 03.04.23 at 15:05 Dominique Leuenberger wrote:
You fell into a very obscure trap:
BuildArch: noarch
ifarch and noarch do not mingle
Thanks for telling me I am not totally losing my marbles. :-)
OK, as the package is noarch and needs to stay that way, I will rewrite the
%check section and exclude all of the tests on all architectures. I think
this might be acceptable, as it is mostly the same tests that fail everywhere anyway... Kind Regards, Johannes
Only the subpackages need to be noarch, the package itself can be arch dependent. You "just" have to teach "%python_subpackages" to set "BuildArch: noarch" for each generated subpackage ... Regards, Stefan