From 80b0445704d4e289543be12575917ae5d499271d Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Wed, 2 Mar 2022 19:18:23 +0800 Subject: [PATCH] list files into debuginfo subpackage --- shim.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/shim.spec b/shim.spec index aefee79..658666e 100644 --- a/shim.spec +++ b/shim.spec @@ -22,7 +22,7 @@ Name: shim Version: 15.4 -Release: 1 +Release: 2 Summary: First-stage UEFI bootloader ExclusiveArch: x86_64 aarch64 License: BSD @@ -106,6 +106,12 @@ install -m 0700 %{SOURCE1} ${RPM_BUILD_ROOT}/%{shimefivendor} install -m 0700 %{SOURCE2} ${RPM_BUILD_ROOT}/%{shimefivendor} %endif +# install the debug symbols +install -d ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor} +install -m 644 fb%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor} +install -m 644 mm%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor} +install -m 644 shim%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor} + cd .. %files @@ -130,6 +136,9 @@ cd .. /usr/src/debug/%{name}-%{version}-%{release}/* %changelog +* Thu Mar 3 2022 panxiaohe - 15.4-2 +- list files into debuginfo subpackage + * Tue Dec 21 2021 panxiaohe - 15.4-1 - update version to 15.4 -- Gitee