Hi, these days a number of Aarch64 and even ARMv7 boards have (U)EFI support. The efi macro should be updated accordingly (I've also moved its definition down a little to make sure %{arm} is defined first).
ttyl bero
--- rpm/macros/macros.rpmbuild.in~ 2011-07-29 06:26:06.000000000 +0200 +++ rpm/macros/macros.rpmbuild.in 2017-06-05 14:57:01.637191100 +0200 @@ -630,9 +630,6 @@ done \ # %ix86 i386 i486 i586 i686 pentium3 pentium4 athlon -# arch macro for all EFI-compatible architectures -%efi %{ix86} x86_64 ia64 - # same thing for arm %arm arm armv3 armv3l armv3b armv4 armv4l armv4b armv5 armv5l armv5b armv5te armv5tel armv5teb xscale armv6 armv6l armv7l @@ -650,6 +647,10 @@ done \ %mipsel mipsel mips2el mips3el mips4el loongson2e loongson2f octeonel %mipsx %mips %mipsel mips64 mips64el + +# arch macro for all EFI-compatible architectures +%efi %{ix86} x86_64 ia64 %{arm} aarch64 + #------------------------------------------------------------------------ # Use in %install to generate locale specific file lists. For example,