Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package update-bootloader-rpm-macros for openSUSE:Factory checked in at 2022-08-19 17:53:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/update-bootloader-rpm-macros (Old) and /work/SRC/openSUSE:Factory/.update-bootloader-rpm-macros.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "update-bootloader-rpm-macros" Fri Aug 19 17:53:07 2022 rev:6 rq:997643 version:0 Changes: -------- --- /work/SRC/openSUSE:Factory/update-bootloader-rpm-macros/update-bootloader-rpm-macros.changes 2021-07-15 23:59:01.682162054 +0200 +++ /work/SRC/openSUSE:Factory/.update-bootloader-rpm-macros.new.2083/update-bootloader-rpm-macros.changes 2022-08-19 17:54:07.915805283 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 19:07:05 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- avoid bashisms in update-bootloader scriptlets (bsc#1195391) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ update-bootloader-rpm-macros.spec ++++++ --- /var/tmp/diff_new_pack.ZwvRrK/_old 2022-08-19 17:54:08.475806458 +0200 +++ /var/tmp/diff_new_pack.ZwvRrK/_new 2022-08-19 17:54:08.479806465 +0200 @@ -1,7 +1,7 @@ # # spec file for package update-bootloader-rpm-macros # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ macros.update-bootloader ++++++ --- /var/tmp/diff_new_pack.ZwvRrK/_old 2022-08-19 17:54:08.511806533 +0200 +++ /var/tmp/diff_new_pack.ZwvRrK/_new 2022-08-19 17:54:08.515806541 +0200 @@ -16,7 +16,7 @@ %{_sysconfdir}/sysconfig/bootloader \\\ 2>/dev/null || :` \ for bl in %{?*}; do \ - if test "x${bl}" == "x$loader_type"; then \ + if test "x${bl}" = "x$loader_type" ; then \ mkdir -p %{_rundir}/update-bootloader/ \ touch %{_rundir}/update-bootloader/refresh \ break \ @@ -30,7 +30,7 @@ %{_sysconfdir}/sysconfig/bootloader \\\ 2>/dev/null || :` \ for bl in %{?*}; do \ - if test "x${bl}" == "x$loader_type"; then \ + if test "x${bl}" = "x$loader_type" ; then \ mkdir -p %{_rundir}/update-bootloader/ \ touch %{_rundir}/update-bootloader/reinit \ break \ @@ -41,7 +41,7 @@ %update_bootloader_posttrans \ if test -x /sbin/update-bootloader; then \ if test -f %{_rundir}/update-bootloader/reinit; then \ - rm -f %{_rundir}/update-bootloader/{reinit,refresh} \ + rm -f -- %{_rundir}/update-bootloader/reinit %{_rundir}/update-bootloader/refresh \ if test -x %{_libexecdir}/grub2-instdev-fixup.pl; then \ %{_libexecdir}/grub2-instdev-fixup.pl || : \ fi \