On Wed, Mar 18, 2026 at 8:09 AM Chris Adams <[email protected]> wrote:
> I already know how to conditionalize build dependencies; the point is
> that's not a good approach, because then tests will/won't be run based
> on if koji assigns the build to a compatible architecture.  That's not
> good (I'm trying to get where the tests are always run).  In the past, a
> combination like:
>
>    BuildArch: noarch
>    ExclusiveArch: x86_64 aarch64
>
> would not work (because ExclusiveArch: and ExcludeArch: were not checked
> when a package was BuildArch: noarch).  It sounds like that's no longer
> the case.

If the package should be installable on architectures other than
x86_64 and aarch64, then it needs to be:

   BuildArch: noarch
   ExclusiveArch: x86_64 aarch64 noarch

as I learned the hard way.  ExclusiveArch limits both the build and
installation architectures.
-- 
Jerry James
http://www.jamezone.org/
-- 
_______________________________________________
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

Reply via email to