Fixing makedumpfile build
This commit is contained in:
parent
efd130ffc2
commit
080f7f0472
|
@ -0,0 +1,15 @@
|
||||||
|
diff -up kexec-tools-testing-20070330/makedumpfile/Makefile.orig kexec-tools-testing-20070330/makedumpfile/Makefile
|
||||||
|
--- kexec-tools-testing-20070330/makedumpfile/Makefile.orig 2008-01-03 08:56:42.000000000 -0500
|
||||||
|
+++ kexec-tools-testing-20070330/makedumpfile/Makefile 2008-01-03 08:57:36.000000000 -0500
|
||||||
|
@@ -4,9 +4,9 @@ VERSION=1.1.5
|
||||||
|
DATE=27 July 2007
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
-CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
|
||||||
|
+CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE \
|
||||||
|
-DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"'
|
||||||
|
-CFLAGS_ARCH = -g -O2 -Wall -D_FILE_OFFSET_BITS=64
|
||||||
|
+CFLAGS_ARCH = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
|
||||||
|
|
||||||
|
ARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
|
||||||
|
-e s/arm.*/arm/ -e s/sa110/arm/ \
|
|
@ -21,8 +21,8 @@ Source13: kexec-tools-po.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires(pre): coreutils chkconfig sed
|
Requires(pre): coreutils chkconfig sed
|
||||||
Requires: busybox >= 1.2.0
|
Requires: busybox >= 1.2.0
|
||||||
BuildRequires: zlib-devel elfutils-libelf-devel glib2-devel pkgconfig
|
BuildRequires: zlib-devel elfutils-devel-static glib2-devel
|
||||||
BuildRequires: elfutils-libelf-devel elfutils-devel-static gettext
|
BuildRequires: pkgconfig intltool gettext
|
||||||
%ifarch %{ix86} x86_64 ppc64 ia64 ppc
|
%ifarch %{ix86} x86_64 ppc64 ia64 ppc
|
||||||
Obsoletes: diskdumputils netdump
|
Obsoletes: diskdumputils netdump
|
||||||
%endif
|
%endif
|
||||||
|
@ -64,6 +64,7 @@ Patch601: kexec-tools-1.102pre-elf-format.patch
|
||||||
Patch602: kexec-tools-1.102pre-x86-add_buffer_retry.patch
|
Patch602: kexec-tools-1.102pre-x86-add_buffer_retry.patch
|
||||||
Patch603: kexec-tools-1.102pre-makedumpfile-xen-syms.patch
|
Patch603: kexec-tools-1.102pre-makedumpfile-xen-syms.patch
|
||||||
Patch604: kexec-tools-1.102pre-disable-kexec-test.patch
|
Patch604: kexec-tools-1.102pre-disable-kexec-test.patch
|
||||||
|
Patch605: kexec-tools-1.102pre-makedumpfile-makefile.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
kexec-tools provides /sbin/kexec binary that facilitates a new
|
kexec-tools provides /sbin/kexec binary that facilitates a new
|
||||||
|
@ -90,6 +91,7 @@ tar -z -x -v -f %{SOURCE9}
|
||||||
%patch602 -p1
|
%patch602 -p1
|
||||||
%patch603 -p1
|
%patch603 -p1
|
||||||
%patch604 -p1
|
%patch604 -p1
|
||||||
|
%patch605 -p1
|
||||||
|
|
||||||
tar -z -x -v -f %{SOURCE13}
|
tar -z -x -v -f %{SOURCE13}
|
||||||
|
|
||||||
|
@ -220,6 +222,8 @@ done
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 02 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-3
|
* Wed Jan 02 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-3
|
||||||
- Fix ARCH placement in kdump init script (bz 427201)
|
- Fix ARCH placement in kdump init script (bz 427201)
|
||||||
|
- Fix BuildRequires
|
||||||
|
- Fix Makedumpfile to build with new libelf
|
||||||
|
|
||||||
* Mon Oct 01 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-2
|
* Mon Oct 01 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-2
|
||||||
- Fix triggerpostun script (bz 308151)
|
- Fix triggerpostun script (bz 308151)
|
||||||
|
|
Loading…
Reference in New Issue