[Rpm-maint] [PATCH] Add "efi" arch macro

Peter Jones pjones at redhat.com
Thu Mar 10 16:40:53 UTC 2011


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



More information about the Rpm-maint mailing list