commit update-bootloader-rpm-macros for openSUSE:Factory
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 2021-07-02 13:26:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/update-bootloader-rpm-macros (Old) and /work/SRC/openSUSE:Factory/.update-bootloader-rpm-macros.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "update-bootloader-rpm-macros" Fri Jul 2 13:26:31 2021 rev:4 rq:903136 version:0 Changes: -------- --- /work/SRC/openSUSE:Factory/update-bootloader-rpm-macros/update-bootloader-rpm-macros.changes 2019-06-02 15:15:12.474108782 +0200 +++ /work/SRC/openSUSE:Factory/.update-bootloader-rpm-macros.new.2625/update-bootloader-rpm-macros.changes 2021-07-02 13:26:46.337084043 +0200 @@ -1,0 +2,11 @@ +Tue Jun 29 07:07:07 UTC 2021 - olaf@aepfle.de + +- Make sure _rpmmacrodir is defined to restore compatibility with SLE12 + +------------------------------------------------------------------- +Thu Jun 24 09:33:46 UTC 2021 - Ludwig Nussel <lnussel@suse.de> + +- make perl-Bootloader optional. This avoids to pull in perl in + small systems that do not necessarily use perl-Bootloader + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ update-bootloader-rpm-macros.spec ++++++ --- /var/tmp/diff_new_pack.JRe2j7/_old 2021-07-02 13:26:47.829072467 +0200 +++ /var/tmp/diff_new_pack.JRe2j7/_new 2021-07-02 13:26:47.833072436 +0200 @@ -1,7 +1,7 @@ # # spec file for package update-bootloader-rpm-macros # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%if %{undefined _rpmmacrodir} + %define _rpmmacrodir %{_sysconfdir}/rpm +%endif Name: update-bootloader-rpm-macros Version: 0 @@ -38,7 +41,6 @@ install -m644 %{SOURCE0} %{buildroot}%{_rpmmacrodir} %files -%defattr(-,root,root) %{_rpmmacrodir}/macros.update-bootloader %changelog ++++++ macros.update-bootloader ++++++ --- /var/tmp/diff_new_pack.JRe2j7/_old 2021-07-02 13:26:47.865072188 +0200 +++ /var/tmp/diff_new_pack.JRe2j7/_new 2021-07-02 13:26:47.865072188 +0200 @@ -1,4 +1,4 @@ -%update_bootloader_requires Requires(posttrans): perl-Bootloader +%update_bootloader_requires %{nil} %update_bootloader_refresh_post() \ mkdir -p %{_rundir}/update-bootloader/ \ @@ -39,11 +39,13 @@ %nil %update_bootloader_posttrans \ -if test -f %{_rundir}/update-bootloader/reinit; then \ - rm -f %{_rundir}/update-bootloader/{reinit,refresh} \ - /sbin/update-bootloader --reinit || : \ -elif test -f %{_rundir}/update-bootloader/refresh; then \ - rm -f %{_rundir}/update-bootloader/refresh \ - /sbin/update-bootloader --refresh || : \ +if test -x /sbin/update-bootloader; then \ + if test -f %{_rundir}/update-bootloader/reinit; then \ + rm -f %{_rundir}/update-bootloader/{reinit,refresh} \ + /sbin/update-bootloader --reinit || : \ + elif test -f %{_rundir}/update-bootloader/refresh; then \ + rm -f %{_rundir}/update-bootloader/refresh \ + /sbin/update-bootloader --refresh || : \ + fi \ fi \ %nil
participants (1)
-
Source-Sync