diff -ruN rpmbuild-orig/SOURCES/crash-trace-command-arm.patch rpmbuild/SOURCES/crash-trace-command-arm.patch
--- rpmbuild-orig/SOURCES/crash-trace-command-arm.patch	1970-01-01 01:00:00.000000000 +0100
+++ rpmbuild/SOURCES/crash-trace-command-arm.patch	2014-12-21 12:35:51.817925050 +0100
@@ -0,0 +1,21 @@
+--- crash-trace-command-1.0-orig/Makefile	2014-12-21 12:35:17.673058218 +0100
++++ crash-trace-command-1.0/Makefile	2014-12-21 12:34:45.978181693 +0100
+@@ -22,6 +22,18 @@
+   TARGET=S390
+   TARGET_CFLAGS=
+ endif
++ifeq ($(shell arch), armv5tel)
++  TARGET=ARM
++  TARGET_CFLAGS=
++endif
++ifeq ($(shell arch), armv6l)
++  TARGET=ARM
++  TARGET_CFLAGS=
++endif
++ifeq ($(shell arch), armv7l)
++  TARGET=ARM
++  TARGET_CFLAGS=
++endif
+ 
+ INCDIR=/usr/include/crash
+ 
diff -ruN rpmbuild-orig/SPECS/crash-trace-command.spec rpmbuild/SPECS/crash-trace-command.spec
--- rpmbuild-orig/SPECS/crash-trace-command.spec	2014-03-20 16:05:25.000000000 +0100
+++ rpmbuild/SPECS/crash-trace-command.spec	2014-12-21 12:28:46.794561315 +0100
@@ -4,7 +4,7 @@
 Summary: trace extension module for the crash utility
 Name: crash-trace-command
 Version: 1.0
-Release: 5%{?dist}
+Release: 5%{?dist}.0
 License: GPLv2
 Group: Development/Debuggers
 Source: %{name}-%{version}.tar.gz
@@ -12,12 +12,13 @@
 # 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
 Patch2: build_with_RPM_OPT_FLAGS.patch
+Patch10001: crash-trace-command-arm.patch
 
 %description
 Command for reading ftrace data from a dumpfile.
@@ -27,6 +28,7 @@
 %patch0 -p1 -b s390.patch
 %patch1 -p1 -b trace_show_segv.patch
 %patch2 -p1 -b build_with_RPM_OPT_FLAGS.patch
+%patch10001 -p1 -b arm
 
 %build
 make
@@ -44,6 +46,9 @@
 %doc COPYING
 
 %changelog
+* Sun Dec 21 2014 Jacco Ligthart <jacco@redsleeve.org> - 1.0-5.0
+- Add ARM target patch
+
 * Thu Mar 20 2014 Dave Anderson <anderson@redhat.com> - 1.0-5
 - Comment out Vendor and Packager lines.
   Resolves: rhbz#895899
