From ca2cc0b3b8d28057a16d4c598e022372482a98aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Tue, 10 Dec 2024 16:11:28 +0800 Subject: [PATCH] include all patches in the source package. --- kexec-tools.spec | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index d95e8ca..1136726 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,7 +4,7 @@ Name: kexec-tools Version: 2.0.26 -Release: 9 +Release: 10 License: GPLv2 Summary: The kexec/kdump userspace component URL: https://www.kernel.org/ @@ -74,19 +74,13 @@ Patch0001: add-secure-compile-options-for-makedumpfile.patch Patch0002: kexec-Add-quick-kexec-support.patch Patch0003: kexec-Quick-kexec-implementation-for-arm64.patch -%ifarch sw_64 Patch0004: sw_64.patch Patch0005: makedumpfile-1.7.2-sw.patch -%endif -%ifarch riscv64 Patch0006: kexec-tools-Add-riscv-support.patch Patch0007: kexec-tools-fix-riscv-support.patch -%endif -%ifarch loongarch64 Patch0008: Add-loongarch-iomem.h.patch -%endif Patch0009: Before-adding-to-usablemem_rgns-check-if-the-memory-.patch %description @@ -110,7 +104,24 @@ mkdir -p -m755 kcp tar -z -x -v -f %{SOURCE9} tar -z -x -v -f %{SOURCE19} -%autopatch -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 9 -p1 + +%ifarch sw_64 +%patch -P 4 -p1 +%patch -P 5 -p1 +%endif + +%ifarch riscv64 +%patch -P 6 -p1 +%patch -P 7 -p1 +%endif + +%ifarch loongarch64 +%patch -P 8 -p1 +%endif %build autoreconf @@ -296,6 +307,9 @@ done %endif %changelog +* Tue Dec 10 2024 shenzhongwei - 2.0.26-10 +- include all patches in the source package. + * Mon Dec 09 2024 chenhaixiang - 2.0.26-9 - Before adding to usablemem_rgns, check if the memory range is already included. -- Gitee