On Wednesday, 18 March 2026 at 14:45, Fabio Valentini wrote:
> On Wed, Mar 18, 2026 at 2:37 PM Chris Adams <[email protected]> wrote:
> >
> > Once upon a time, Fabio Valentini <[email protected]> said:
> > > If you use something like
> > >
> > > %ifarch x86_64 aarch64
> > > BuildRequires: chromium-headless
> > > %endif
> > >
> > > then this would work - the build's dependencies are resolved on each
> > > target architecture.
> >
> > But that would still result in a package with indeterminate testing,
> > which is not good.
>
> Not necessarily.
>
> We deal with a similar problem for Rust packages - which are `noarch`
> but we run tests on all architectures (when possible).
> For this, only the built subpackages are `BuildArch: noarch` but the
> source package is arched.
This is what I recommend as well. It ensures consistent testing on all
supported arches while still delivering a noarch package. You do need
to add:
%global debug_package %{nil}
at the top.
Regards,
Dominik
--
Fedora https://fedoraproject.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new