That would be great, I'd like to avoid touching nobuildarches as it's getting harder to follow. If you hit an error, can you add that to comment or description as well? Just so we know what the changes should fix.
Why is:
# RT and Automotive kernels are only built on x86_64 and aarch64
%ifnarch x86_64 aarch64
%define with_realtime 0
%define with_automotive 0
%endif
at line 518 not sufficient?
%{with_realtime} will never be 1 here for the arches you listed. On line 519 we have:
%ifnarch x86_64 aarch64
%define with_realtime 0
%define with_automotive 0
%endif
so I'm not sure what will this accomplish.
I think this is OK for now. @jbencrh OK to resolve this thread?