Accepting request 932486 from Kernel:kdump
- Turn on zstd. - Update to 1.7.0 * Zstandard (zstd) compression support * New -L option to limit output file size * Support of kernels up to v5.15 (x86_64) OBS-URL: https://build.opensuse.org/request/show/932486 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=82
This commit is contained in:
commit
7a88083c0b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:393ea8f22393c059ad21de9b1c3f45d9d0d8dbeb0ccb1417815b835d03f7c350
|
||||
size 200869
|
3
makedumpfile-1.7.0.tar.gz
Normal file
3
makedumpfile-1.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8985f8df249087ea68c6051dec6dac3ef0703fe2aa87d0266f3951f93aa8da5e
|
||||
size 202820
|
@ -13,7 +13,7 @@ Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -66,6 +66,8 @@ LIBS := -lsnappy $(LIBS)
|
||||
CFLAGS += -DUSESNAPPY
|
||||
#CFLAGS += -fanalyzer
|
||||
endif
|
||||
|
||||
+TINFOLIB = -ltinfo
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 10:54:59 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
|
||||
|
||||
- Turn on zstd.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 18 16:14:20 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
|
||||
|
||||
- Update to 1.7.0
|
||||
* Zstandard (zstd) compression support
|
||||
* New -L option to limit output file size
|
||||
* Support of kernels up to v5.15 (x86_64)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 10 13:15:50 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
|
@ -24,6 +24,14 @@
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{!?have_zstd:1}
|
||||
%if 0%{?sle_version} >= 150200
|
||||
%define have_zstd 1
|
||||
%else
|
||||
%define have_zstd 0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Compatibility cruft
|
||||
# there is no separate -ltinfo until openSUSE 13.1 / SLE 12
|
||||
%if 0%{?suse_version} < 1310 && 0%{?sles_version} < 12
|
||||
@ -32,7 +40,7 @@
|
||||
# End of compatibility cruft
|
||||
|
||||
Name: makedumpfile
|
||||
Version: 1.6.9
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Partial kernel dump
|
||||
License: GPL-2.0-only
|
||||
@ -43,6 +51,7 @@ Source99: %{name}-rpmlintrc
|
||||
Patch0: %{name}-override-libtinfo.patch
|
||||
Patch1: %{name}-ppc64-VA-range-SUSE.patch
|
||||
Patch2: %{name}-PN_XNUM.patch
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: libdw-devel
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: libeppic-devel
|
||||
@ -52,14 +61,12 @@ BuildRequires: xz-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 ppc64le s390x %{arm} aarch64
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?sles_version} >= 11
|
||||
BuildRequires: libbz2-devel
|
||||
%else
|
||||
BuildRequires: bzip2
|
||||
%endif
|
||||
%if %{have_snappy}
|
||||
BuildRequires: snappy-devel
|
||||
%endif
|
||||
%if %{have_zstd}
|
||||
BuildRequires: libzstd-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
makedumpfile is a dump program to shorten the size of dump file. It
|
||||
@ -78,6 +85,9 @@ export CFLAGS="%{optflags} -fcommon"
|
||||
%if %{have_snappy}
|
||||
export USESNAPPY=on
|
||||
%endif
|
||||
%if %{have_zstd}
|
||||
export USEZSTD=on
|
||||
%endif
|
||||
export USELZO=on
|
||||
export LINKTYPE=dynamic
|
||||
make %{?_smp_mflags} LDFLAGS="-Wl,-rpath,%{_libdir}/%{name}-%{version}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user