This commit is contained in:
parent
e56f69084f
commit
090b715bb1
@ -2,10 +2,12 @@
|
||||
Makefile | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -4,10 +4,10 @@ VERSION=1.3.1
|
||||
DATE=26 November 2008
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Makefile.orig 2009-02-19 09:20:06.000000000 +0100
|
||||
+++ Makefile 2009-03-21 22:08:16.000000000 +0100
|
||||
@@ -4,10 +4,10 @@ VERSION=1.3.2
|
||||
DATE=20 February 2009
|
||||
|
||||
CC = gcc
|
||||
-CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
|
||||
@ -22,7 +24,7 @@
|
||||
|
||||
makedumpfile: $(SRC) $(OBJ_ARCH)
|
||||
- $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lelf -lz
|
||||
+ $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -Wl,-Bstatic -ldw -lelf -lz -Wl,-Bdynamic
|
||||
+ $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -Wl,-Bstatic -ldw -lelf -Wl,-Bdynamic -lz
|
||||
gzip -c ./makedumpfile.8 > ./makedumpfile.8.gz
|
||||
|
||||
clean:
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 21 22:49:14 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- do not use static zlib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 20 09:59:02 CET 2009 - bwalle@suse.de
|
||||
|
||||
|
@ -27,7 +27,7 @@ BuildRequires: libdw-devel libdw1 libelf-devel libelf0 libelf1
|
||||
%endif
|
||||
License: GPL v2 or later
|
||||
Version: 1.3.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Partial kernel dump
|
||||
Group: System/Kernel
|
||||
Url: https://sourceforge.net/projects/makedumpfile/
|
||||
@ -50,7 +50,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch0
|
||||
|
||||
%build
|
||||
make COPTFLAGS="$RPM_OPT_FLAGS"
|
||||
@ -63,7 +63,7 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -72,6 +72,8 @@ install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
/bin/*
|
||||
|
||||
%changelog
|
||||
* Sat Mar 21 2009 crrodriguez@suse.de
|
||||
- do not use static zlib
|
||||
* Fri Feb 20 2009 bwalle@suse.de
|
||||
- Update to 1.3.2
|
||||
o Add --dump-dmesg option (Dumping dmesg buffer from /proc/vmcore
|
||||
|
Loading…
Reference in New Issue
Block a user