Accepting request 459557 from openSUSE:Factory
Revert shim-leap OBS-URL: https://build.opensuse.org/request/show/459557 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shim-leap?expand=0&rev=4
This commit is contained in:
commit
8d4182d6d2
@ -1,9 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Feb 17 04:04:36 UTC 2017 - glin@suse.com
|
|
||||||
|
|
||||||
- Support %posttrans with marcos provided by update-bootloader-rpm-macros
|
|
||||||
package (bsc#997317) (fix from mchang@suse.com)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 27 05:47:23 UTC 2016 - glin@suse.com
|
Tue Dec 27 05:47:23 UTC 2016 - glin@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package shim-leap
|
# spec file for package shim-leap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -32,14 +32,7 @@ does not exist
|
|||||||
%package -n shim
|
%package -n shim
|
||||||
Summary: UEFI shim loader
|
Summary: UEFI shim loader
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
%if 0%{?suse_version} > 1320
|
|
||||||
BuildRequires: update-bootloader-rpm-macros
|
|
||||||
%endif
|
|
||||||
%if 0%{?update_bootloader_requires:1}
|
|
||||||
%update_bootloader_requires
|
|
||||||
%else
|
|
||||||
Requires: perl-Bootloader
|
Requires: perl-Bootloader
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n shim
|
%description -n shim
|
||||||
shim is a trivial EFI application that, when run, attempts to open and
|
shim is a trivial EFI application that, when run, attempts to open and
|
||||||
@ -55,14 +48,7 @@ rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-tim
|
|||||||
cp -a * %{buildroot}
|
cp -a * %{buildroot}
|
||||||
|
|
||||||
%post -n shim
|
%post -n shim
|
||||||
%if 0%{?update_bootloader_check_type_reinit_post:1}
|
|
||||||
%update_bootloader_check_type_reinit_post grub2-efi
|
|
||||||
%else
|
|
||||||
/sbin/update-bootloader --reinit || true
|
/sbin/update-bootloader --reinit || true
|
||||||
%endif
|
|
||||||
|
|
||||||
%posttrans -n shim
|
|
||||||
%{?update_bootloader_posttrans}
|
|
||||||
|
|
||||||
%files -n shim
|
%files -n shim
|
||||||
/etc/uefi
|
/etc/uefi
|
||||||
|
Loading…
Reference in New Issue
Block a user