Add "efi" to the arch macro list, so "%ifarch %{efi}" will work.
---
 macros.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/macros.in b/macros.in
index a279995..a7e5fdb 100644
--- a/macros.in
+++ b/macros.in
@@ -1040,6 +1040,10 @@ done \
 # arch macro for all supported Alpha processors
 %alpha alpha alphaev56 alphaev6 alphaev67
 
+#------------------------------------------------------------------------------
+# arch macro for all EFI-compatible architectures
+%efi %{ix86} x86_64 ia64
+
 #------------------------------------------------------------------------
 # Use in %install to generate locale specific file lists. For example,
 #
-- 
1.7.4

_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to