From 3e07fcf28ea5acab57859b3d22c6eba9f7411a5b73607c2e4e9e6739b1bbbca8 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Thu, 25 May 2023 12:41:22 +0000 Subject: [PATCH] Accepting request 1088979 from home:gary_lin:branches:devel:openSUSE:Factory - Remove the sym-links in /usr/lib64/efi for the newer distro versions since we don't use them anymore OBS-URL: https://build.opensuse.org/request/show/1088979 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim-leap?expand=0&rev=36 --- shim-leap.changes | 6 ++++++ shim-leap.spec | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/shim-leap.changes b/shim-leap.changes index ef39e34..28906d6 100644 --- a/shim-leap.changes +++ b/shim-leap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 25 07:48:54 UTC 2023 - Gary Ching-Pang Lin + +- Remove the sym-links in /usr/lib64/efi for the newer distro + versions since we don't use them anymore + ------------------------------------------------------------------- Wed Jul 21 09:38:30 UTC 2021 - jlee@suse.com diff --git a/shim-leap.spec b/shim-leap.spec index d68e4ee..d9219e9 100644 --- a/shim-leap.spec +++ b/shim-leap.spec @@ -1,7 +1,7 @@ # # spec file for package shim-leap # -# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -57,6 +57,11 @@ rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-tim cp -a * %{buildroot} cp %{S:1} . +%if %{undefined shim_lib64_share_compat} +# Remove the sym-links in /usr/lib64/efi +rm -rf %{buildroot}/usr/lib64/efi +%endif + %post -n shim /sbin/update-bootloader --reinit || true