Hello community, here is the log from the commit of package fwupdate for openSUSE:Factory checked in at 2018-11-06 13:56:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fwupdate (Old) and /work/SRC/openSUSE:Factory/.fwupdate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fwupdate" Tue Nov 6 13:56:49 2018 rev:11 rq:643840 version:12 Changes: -------- --- /work/SRC/openSUSE:Factory/fwupdate/fwupdate.changes 2018-07-24 17:29:38.839854368 +0200 +++ /work/SRC/openSUSE:Factory/.fwupdate.new/fwupdate.changes 2018-11-06 13:57:00.888037375 +0100 @@ -1,0 +2,6 @@ +Tue Oct 23 03:42:04 UTC 2018 - Gary Ching-Pang Lin <[email protected]> + +- Amend the spec file to avoid fwup*.efi from being removed + mistakenly (bsc#1112832) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fwupdate.spec ++++++ --- /var/tmp/diff_new_pack.syrmLc/_old 2018-11-06 13:57:26.876001835 +0100 +++ /var/tmp/diff_new_pack.syrmLc/_new 2018-11-06 13:57:26.880001830 +0100 @@ -137,17 +137,19 @@ %postun -n libfwup1 -p /sbin/ldconfig -%post -n %{name}-efi +%posttrans -n %{name}-efi # Create the directory for the firwmare update capsule mkdir -p /boot/efi/EFI/%{efidir}/fw # Install the UEFI firmware update program cp %{_libdir}/efi/fwup*.efi /boot/efi/EFI/%{efidir} %postun -n %{name}-efi -# Remove all the capsules -rm -rf /boot/efi/EFI/%{efidir}/fw -# Remove the UEFI firmware update program -rm -f /boot/efi/EFI/%{efidir}/fwup*.efi +if [ "$1" = 0 ] ; then + # Remove all the capsules + rm -rf /boot/efi/EFI/%{efidir}/fw + # Remove the UEFI firmware update program + rm -f /boot/efi/EFI/%{efidir}/fwup*.efi +fi %files %defattr(-,root,root)
