On Thu, Dec 11, 2008 at 12:38:25PM +0530, Kedar Sovani wrote:
Signed-off-by: Kedar Sovani <kedars(a)marvell.com>
---
rpm-4.6.0-arm-isaname.patch | 13 +++++++++++++
rpm.spec | 2 ++
2 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 rpm-4.6.0-arm-isaname.patch
diff --git a/rpm-4.6.0-arm-isaname.patch b/rpm-4.6.0-arm-isaname.patch
new file mode 100644
index 0000000..d59b649
--- /dev/null
+++ b/rpm-4.6.0-arm-isaname.patch
@@ -0,0 +1,13 @@
+--- rpm-4.6.0-rc1.orig/installplatform 2008-11-30 19:55:59.000000000 -0500
++++ rpm-4.6.0-rc1/installplatform 2008-12-08 18:03:03.000000000 -0500
+@@ -110,6 +110,10 @@ for SUBST in $SUBSTS ; do
+ ISANAME=ia
+ ISABITS=64
+ ;;
++ arm*)
++ ISANAME=`echo ${ARCH} | sed "s/\([^-]*\)-.*/\1/"`
++ ISABITS=32
++ ;;
+ esac
+
+ if [ -n "$MULTILIBNO" ]; then
This looks sane, I suppose. Can you send this to the rpm-maint@
mailing list and see what they think?