Accepting request 728588 from home:ptesarik:branches:Kernel:kdump

Upgrade to 1.6.6

OBS-URL: https://build.opensuse.org/request/show/728588
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=134
This commit is contained in:
Petr Tesařík 2019-09-05 19:05:44 +00:00 committed by Git OBS Bridge
parent 375fa0cbbc
commit 511051aab3
5 changed files with 16 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d4f1d6ded8dca6951eeabcf4bb1ebf6575288fee947529397103c040eb5c760
size 193093

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d007eec05cb14f0155f2d06a0d4dc70d321dbb2aec65fccdce953145c8230324
size 193625

View File

@ -1,19 +0,0 @@
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,10 @@ ifeq ($(strip $CC),)
CC = gcc
endif
-CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
+CFLAGS = $(COPTFLAGS) -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
-DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"'
-CFLAGS_ARCH = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
+CFLAGS_ARCH = $(COPTFLAGS) -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
# LDFLAGS = -L/usr/local/lib -I/usr/local/include

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Sep 5 18:36:13 UTC 2019 - Petr Tesařík <ptesarik@suse.com>
- Update to 1.6.6
* Support for AMD Secure Memory Encryption
* Exclude pages that are logically offline
* Support kernels up to 5.1.9
- Drop makedumpfile-coptflags.diff.
-------------------------------------------------------------------
Fri Jul 5 09:27:33 UTC 2019 - Michal Suchanek <msuchanek@suse.com>

View File

@ -32,7 +32,7 @@
# End of compatibility cruft
Name: makedumpfile
Version: 1.6.5
Version: 1.6.6
Release: 0
Summary: Partial kernel dump
License: GPL-2.0-only
@ -40,7 +40,6 @@ Group: System/Kernel
Url: https://sourceforge.net/projects/makedumpfile/
Source: https://sourceforge.net/projects/makedumpfile/files/makedumpfile/%{version}/%{name}-%{version}.tar.gz
Source99: %{name}-rpmlintrc
Patch0: %{name}-coptflags.diff
Patch1: %{name}-override-libtinfo.patch
Patch2: %{name}-ppc64-VA-range-SUSE.patch
BuildRequires: libdw-devel
@ -70,18 +69,18 @@ via gdb or crash utility.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
export CFLAGS="%{optflags}"
%if %{have_snappy}
export USESNAPPY=on
%endif
export USELZO=on
export LINKTYPE=dynamic
make %{?_smp_mflags} COPTFLAGS="%{optflags}" LDFLAGS="-Wl,-rpath,%{_libdir}/%{name}-%{version}"
make %{?_smp_mflags} COPTFLAGS="%{optflags}" eppic_makedumpfile.so %{?ncurses_make_opts}
make %{?_smp_mflags} LDFLAGS="-Wl,-rpath,%{_libdir}/%{name}-%{version}"
make %{?_smp_mflags} eppic_makedumpfile.so %{?ncurses_make_opts}
%install
install -D -m 0755 makedumpfile %{buildroot}%{_bindir}/makedumpfile