Hello community, here is the log from the commit of package shim-leap for openSUSE:Factory checked in at 2017-02-19 01:03:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shim-leap (Old) and /work/SRC/openSUSE:Factory/.shim-leap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shim-leap" Changes: -------- --- /work/SRC/openSUSE:Factory/shim-leap/shim-leap.changes 2016-12-29 22:51:45.569532739 +0100 +++ /work/SRC/openSUSE:Factory/.shim-leap.new/shim-leap.changes 2017-02-19 01:03:20.272147589 +0100 @@ -1,0 +2,6 @@ +Fri Feb 17 04:04:36 UTC 2017 - [email protected] + +- Support %posttrans with marcos provided by update-bootloader-rpm-macros + package (bsc#997317) (fix from [email protected]) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shim-leap.spec ++++++ --- /var/tmp/diff_new_pack.PV0VbP/_old 2017-02-19 01:03:20.640095894 +0100 +++ /var/tmp/diff_new_pack.PV0VbP/_new 2017-02-19 01:03:20.640095894 +0100 @@ -1,7 +1,7 @@ # # spec file for package shim-leap # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,14 @@ %package -n shim Summary: UEFI shim loader 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 +%endif %description -n shim shim is a trivial EFI application that, when run, attempts to open and @@ -48,7 +55,14 @@ cp -a * %{buildroot} %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 +%endif + +%posttrans -n shim +%{?update_bootloader_posttrans} %files -n shim /etc/uefi
