From d7229c534e995327718ca63f36fea29cbc14ea1a Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 11 Mar 2025 07:07:34 +0000 Subject: [PATCH] import CS crash-8.0.6-1.el9 --- .crash.metadata | 2 +- .gitignore | 2 +- .../{crash-8.0.5_build.patch => crash-8.0.6_build.patch} | 8 ++++---- SOURCES/lzo_snappy_zstd.patch | 8 ++++---- SPECS/crash.spec | 9 ++++++--- 5 files changed, 16 insertions(+), 13 deletions(-) rename SOURCES/{crash-8.0.5_build.patch => crash-8.0.6_build.patch} (91%) diff --git a/.crash.metadata b/.crash.metadata index 069d3ae..45f8492 100644 --- a/.crash.metadata +++ b/.crash.metadata @@ -1,2 +1,2 @@ -2ac6f08b5425943407f2819df11ae4156e6706db SOURCES/crash-8.0.5.tar.gz +118c55409a4e026c8052c7cb0020dbc24b5144a1 SOURCES/crash-8.0.6.tar.gz 6bf5ee7877a4740835745ed97ce525a00bb2232c SOURCES/gdb-10.2.tar.gz diff --git a/.gitignore b/.gitignore index 3668545..b8ebbf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/crash-8.0.5.tar.gz +SOURCES/crash-8.0.6.tar.gz SOURCES/gdb-10.2.tar.gz diff --git a/SOURCES/crash-8.0.5_build.patch b/SOURCES/crash-8.0.6_build.patch similarity index 91% rename from SOURCES/crash-8.0.5_build.patch rename to SOURCES/crash-8.0.6_build.patch index 46ad1d3..4f01e74 100644 --- a/SOURCES/crash-8.0.5_build.patch +++ b/SOURCES/crash-8.0.6_build.patch @@ -1,5 +1,5 @@ ---- crash-8.0.5/Makefile.orig -+++ crash-8.0.5/Makefile +--- crash-8.0.6/Makefile.orig ++++ crash-8.0.6/Makefile @@ -204,7 +204,7 @@ GDB_FLAGS= # TARGET_CFLAGS will be configured automatically by configure TARGET_CFLAGS= @@ -18,8 +18,8 @@ @echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj @rm -f ${PROGRAM} @if [ ! -f ${GDB}/config.status ]; then \ ---- crash-8.0.5/configure.c.orig -+++ crash-8.0.5/configure.c +--- crash-8.0.6/configure.c.orig ++++ crash-8.0.6/configure.c @@ -810,7 +810,8 @@ build_configure(struct supported_gdb_version *sp) fprintf(fp2, "%s\n", sp->GDB); sprintf(target_data.gdb_version, "%s", &sp->GDB[4]); diff --git a/SOURCES/lzo_snappy_zstd.patch b/SOURCES/lzo_snappy_zstd.patch index 2444a13..36922d8 100644 --- a/SOURCES/lzo_snappy_zstd.patch +++ b/SOURCES/lzo_snappy_zstd.patch @@ -1,5 +1,5 @@ ---- crash-8.0.5/Makefile.orig -+++ crash-8.0.5/Makefile +--- crash-8.0.6/Makefile.orig ++++ crash-8.0.6/Makefile @@ -256,7 +256,7 @@ all: make_configure gdb_merge: force @if [ ! -f ${GDB}/README ]; then \ @@ -9,8 +9,8 @@ @echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj @rm -f ${PROGRAM} @if [ ! -f ${GDB}/config.status ]; then \ ---- crash-8.0.5/diskdump.c.orig -+++ crash-8.0.5/diskdump.c +--- crash-8.0.6/diskdump.c.orig ++++ crash-8.0.6/diskdump.c @@ -23,6 +23,9 @@ * GNU General Public License for more details. */ diff --git a/SPECS/crash.spec b/SPECS/crash.spec index c3056c5..8eea6ae 100644 --- a/SPECS/crash.spec +++ b/SPECS/crash.spec @@ -3,7 +3,7 @@ # Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles Name: crash -Version: 8.0.5 +Version: 8.0.6 Release: 1%{?dist} License: GPLv3 Source0: https://github.com/crash-utility/crash/archive/crash-%{version}.tar.gz @@ -18,7 +18,7 @@ Requires: binutils Provides: bundled(libiberty) Provides: bundled(gdb) = 10.2 Patch0: lzo_snappy_zstd.patch -Patch1: crash-8.0.5_build.patch +Patch1: crash-8.0.6_build.patch %description The core analysis suite is a self-contained tool that can be used to @@ -39,7 +39,7 @@ offered by Mission Critical Linux, or the LKCD kernel patch. %prep %setup -n %{name}-%{version} -q %patch -P 0 -p1 -b lzo_snappy_zstd.patch -%patch -P 1 -p1 -b crash-8.0.4_build.patch +%patch -P 1 -p1 -b crash-8.0.6_build.patch %build @@ -65,6 +65,9 @@ cp -p defs.h %{buildroot}%{_includedir}/crash %{_includedir}/* %changelog +* Thu Nov 14 2024 Lianbo Jiang - 8.0.6-1 +- Rebase to upstream crash 8.0.6 + * Sat May 11 2024 Lianbo Jiang - 8.0.5-1 - Rebase to upstream crash 8.0.5