diff --git a/python-torch.spec b/python-torch.spec index 29dd8c0..e3f7f13 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -188,7 +188,13 @@ Patch104: 0001-use-any-hip.patch Patch105: 0001-disable-use-of-aotriton.patch %endif +# Do not claim aarch64 on anything newer than F41 +%if 0%{?fedora} > 40 ExclusiveArch: x86_64 aarch64 +%else +ExclusiveArch: x86_64 +%endif + %global toolchain gcc %global _lto_cflags %nil