diff -ruN crash-trace-command-1.0-3.el6.src.rpm-rpmbuild/SOURCES/crash-trace-command-arm.patch crash-trace-command-1.0-3.el6.0.src.rpm-rpmbuild/SOURCES/crash-trace-command-arm.patch
--- crash-trace-command-1.0-3.el6.src.rpm-rpmbuild/SOURCES/crash-trace-command-arm.patch	1970-01-01 01:00:00.000000000 +0100
+++ crash-trace-command-1.0-3.el6.0.src.rpm-rpmbuild/SOURCES/crash-trace-command-arm.patch	2011-11-06 12:57:01.000000000 +0000
@@ -0,0 +1,13 @@
+--- crash-trace-command-1.0.orig/Makefile	2011-11-06 12:52:40.821290000 +0000
++++ crash-trace-command-1.0/Makefile	2011-11-06 12:55:55.096031000 +0000
+@@ -22,6 +22,10 @@
+   TARGET=S390
+   TARGET_CFLAGS=
+ endif
++ifeq ($(shell arch), armv5tel)
++  TARGET=ARM
++  TARGET_CFLAGS=
++endif
+ 
+ INCDIR=/usr/include/crash
+ 
diff -ruN crash-trace-command-1.0-3.el6.src.rpm-rpmbuild/SPECS/crash-trace-command.spec crash-trace-command-1.0-3.el6.0.src.rpm-rpmbuild/SPECS/crash-trace-command.spec
--- crash-trace-command-1.0-3.el6.src.rpm-rpmbuild/SPECS/crash-trace-command.spec	2010-06-09 20:45:36.000000000 +0100
+++ crash-trace-command-1.0-3.el6.0.src.rpm-rpmbuild/SPECS/crash-trace-command.spec	2011-11-06 13:16:54.000000000 +0000
@@ -4,7 +4,7 @@
 Summary: trace extension module for the crash utility
 Name: crash-trace-command
 Version: 1.0
-Release: 3%{?dist}
+Release: 3%{?dist}.0
 License: GPLv2
 Group: Development/Debuggers
 Source: %{name}-%{version}.tar.gz
@@ -12,11 +12,12 @@
 Vendor: Fujitsu Limited
 Packager: Lai Jiangshan <laijs@cn.fujitsu.com>
 ExclusiveOS: Linux
-ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x
+ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x %{arm}
 Buildroot: %{_tmppath}/%{name}-root
 BuildRequires: crash-devel zlib-devel
 Patch0: s390.patch
 Patch1: trace_show_segv.patch
+Patch10001: crash-trace-command-arm.patch
 
 %description
 Command for reading ftrace data from a dumpfile.
@@ -25,6 +26,7 @@
 %setup -n %{name}-%{version}
 %patch0 -p1 -b s390.patch
 %patch1 -p1 -b trace_show_segv.patch
+%patch10001 -p1 -b arm
 
 %build
 make
@@ -42,6 +44,9 @@
 %doc COPYING
 
 %changelog
+* Sun Nov 06 2011 Gordan Bobic <gordan@bobich.net> - 1.0-3.0
+- Add support for arm.
+
 * Wed Jun  9 2010 Dave Anderson <anderson@redhat.com> - 1.0-3
 - Remove trace_dump.patch, which requires a kernel later than
   the RHEL6 base of 2.6.32.
