On 03/10/2011 06:40 PM, Peter Jones wrote:
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,
  #

Mmh. I can't help wondering "why should rpm know anything about EFI?"
OTOH it's probably easier to shrug and apply than think how and where such things would really belong to, it's hardly any worse than the myriad other silly arch-related macros...

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

Reply via email to