From a5570274a072c984c66772b30d402b8fa05c84a1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 15:46:29 +0000 Subject: import crash-trace-command-2.0-9.el7 --- diff --git a/SOURCES/ppc64le.patch b/SOURCES/ppc64le.patch new file mode 100644 index 0000000..b787e66 --- /dev/null +++ b/SOURCES/ppc64le.patch @@ -0,0 +1,13 @@ +--- crash-trace-command-2.0/Makefile.orig ++++ crash-trace-command-2.0/Makefile +@@ -6,6 +6,10 @@ ifeq ($(shell arch), ppc64) + TARGET=PPC64 + TARGET_CFLAGS=-m64 + endif ++ifeq ($(shell arch), ppc64le) ++ TARGET=PPC64 ++ TARGET_CFLAGS=-m64 ++endif + ifeq ($(shell arch), ia64) + TARGET=IA64 + TARGET_CFLAGS= diff --git a/SPECS/crash-trace-command.spec b/SPECS/crash-trace-command.spec index bc5d68e..678435e 100644 --- a/SPECS/crash-trace-command.spec +++ b/SPECS/crash-trace-command.spec @@ -4,7 +4,7 @@ Summary: Trace extension module for the crash utility Name: crash-trace-command Version: 2.0 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2 Group: Development/Debuggers Source: %{name}-%{version}.tar.gz @@ -12,7 +12,7 @@ URL: http://people.redhat.com/anderson/extensions/%{name}-%{version}.tar.gz # Vendor: Fujitsu Limited # Packager: Qiao Nuohan ExclusiveOS: Linux -ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x aarch64 +ExclusiveArch: x86_64 %{ix86} ppc64 ia64 s390 s390x aarch64 ppc64le Buildroot: %{_tmppath}/%{name}-root BuildRequires: crash-devel zlib-devel lzo-devel snappy-devel Requires: trace-cmd @@ -22,6 +22,7 @@ Patch2: sigsegv_on_calloc_failure.patch Patch3: initialize_trace_dat.patch Patch4: ARM64.patch Patch5: linux_3.10_support.patch +Patch6: ppc64le.patch %description Command for reading ftrace data from a dumpfile. @@ -34,6 +35,7 @@ Command for reading ftrace data from a dumpfile. %patch3 -p1 -b initialize_trace_dat.patch %patch4 -p1 -b ARM64.patch %patch5 -p1 -b linux_3.10_support.patch +%patch6 -p1 -b ppc64le.patch %build make @@ -51,6 +53,10 @@ rm -rf %{buildroot} %doc COPYING %changelog +* Tue Sep 02 2014 Dave Anderson - 2.0-9 +- Add ppc64le support. + Resolves: rhbz#1123995 + * Fri Jan 24 2014 Daniel Mach - 2.0-8 - Mass rebuild 2014-01-24