diff --git a/kexec-tools.spec b/kexec-tools.spec index b7dd693224001633e8fc8b30b74a9405ab0335a3..1e357689c411db5473f3936689dac94166643f83 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/ @@ -73,20 +73,11 @@ Requires: systemd-udev%{?_isa} 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 %description kexec-tools provides /sbin/kexec binary that facilitates a new @@ -109,7 +100,23 @@ mkdir -p -m755 kcp tar -z -x -v -f %{SOURCE9} tar -z -x -v -f %{SOURCE19} -%autopatch -p1 +%patch0001 -p1 +%patch0002 -p1 +%patch0003 -p1 + +%ifarch sw_64 +%patch0004 -p1 +%patch0005 -p1 +%endif + +%ifarch riscv64 +%patch0006 -p1 +%patch0007 -p1 +%endif + +%ifarch loongarch64 +%patch0008 -p1 +%endif %build autoreconf @@ -295,6 +302,9 @@ done %endif %changelog +* Mon Sep 29 2025 zhangzikang - 2.0.26-10 +- Fix the issue of not including other architectural patches in the source package + * Fri Sep 20 2024 chenguokai - 2.0.26-9 - Fix multiple issues of riscv image format & initrd support