From 166cf8714602d27f806ca62dd7d124dbd3d9c0b3 Mon Sep 17 00:00:00 2001 From: saypaul Date: Thu, 17 Jul 2025 19:11:43 +0530 Subject: [PATCH] spec: new upstream version 0.15.9 Resolves: RHEL-104215 --- greenboot.spec | 38 +++++++++++++++++++++++--------------- sources | 2 +- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/greenboot.spec b/greenboot.spec index 2cdcc92..d426f29 100644 --- a/greenboot.spec +++ b/greenboot.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} Name: greenboot -Version: 0.15.8 +Version: 0.15.9 Release: 1%{?dist} Summary: Generic Health Check Framework for systemd License: LGPL-2.1-or-later @@ -13,7 +13,11 @@ License: LGPL-2.1-or-later URL: https://github.com/%{repo_owner}/%{repo_name} Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/%{repo_tag}.tar.gz -ExcludeArch: s390x {%ix86} +%if 0%{?fedora} || 0%{?rhel} >= 10 +ExcludeArch: s390x %{ix86} +%else +ExcludeArch: s390x +%endif BuildRequires: systemd-rpm-macros %{?systemd_requires} Requires: systemd >= 240 @@ -50,7 +54,7 @@ Obsoletes: greenboot-update-platforms-check <= 0.12.0 %{summary}. %prep -%setup -q +%autosetup %build @@ -65,6 +69,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/%{name}/check/required.d mkdir %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d mkdir %{buildroot}%{_prefix}/lib/%{name}/green.d mkdir %{buildroot}%{_prefix}/lib/%{name}/red.d +install -D -t %{buildroot}%{_prefix}/lib/bootupd/grub2-static/configs.d grub2/08_greenboot.cfg mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_unitdir}/greenboot-healthcheck.service.d mkdir -p %{buildroot}%{_tmpfilesdir} @@ -77,7 +82,6 @@ install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf %{buildroot}%{_ install -DpZm 0755 usr/lib/greenboot/check/required.d/* %{buildroot}%{_prefix}/lib/%{name}/check/required.d install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{name}/greenboot.conf -install -DpZm 0644 etc/grub.d/greenboot.cfg %{buildroot}%{_sysconfdir}/grub.d/greenboot.cfg %post %systemd_post greenboot-healthcheck.service @@ -90,9 +94,6 @@ install -DpZm 0644 etc/grub.d/greenboot.cfg %{buildroot}%{_sysconfdir}/grub.d/gr %systemd_post greenboot-grub2-set-success.service %systemd_post greenboot-rpm-ostree-grub2-check-fallback.service %systemd_post redboot-auto-reboot.service -if [ -d /usr/lib/bootupd/grub2-static/configs.d ]; then -cp /etc/grub.d/greenboot.cfg /usr/lib/bootupd/grub2-static/configs.d -fi %post default-health-checks %systemd_post greenboot-loading-message.service @@ -121,9 +122,6 @@ fi %systemd_postun greenboot-grub2-set-counter.service %systemd_postun greenboot-grub2-set-success.service %systemd_postun greenboot-rpm-ostree-grub2-check-fallback.service -if [ -f /usr/lib/bootupd/grub2-static/configs.d/greenboot.cfg ]; then -rm -f /usr/lib/bootupd/grub2-static/configs.d/greenboot.cfg -fi %postun default-health-checks %systemd_postun greenboot-loading-message.service @@ -148,7 +146,7 @@ fi %dir %{_prefix}/lib/%{name}/red.d %{_exec_prefix}/lib/motd.d/boot-status %{_tmpfilesdir}/greenboot-status-motd.conf -%{_sysconfdir}/grub.d/*.cfg +%{_prefix}/lib/bootupd/grub2-static/configs.d/*.cfg %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/%{name} %{_libexecdir}/%{name}/greenboot-grub2-set-success @@ -176,6 +174,16 @@ fi %{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh %changelog +* Tue Mar 25 2025 Sayan Paul - - 0.15.9-1 +- Bump to 0.15.9 +- Bootupd grub2 static ordering + +* Fri Feb 28 2025 Antonio Murdaca - 0.15.8-3 +- use autosetup instead of setup + +* Thu Feb 27 2025 Antonio Murdaca - 0.15.8-2 +- Keep building ix86 in rhel < 10 + * Wed Feb 26 2025 Antonio Murdaca - 0.15.8-1 ## What's Changed * ci: add ci test for pull request by @yih-redhat in https://github.com/fedora-iot/greenboot/pull/164 @@ -210,16 +218,16 @@ fi - Fixed the issue that boot_counter cannot be unset and some scripts do not have executable permissions - Packit: only use IoT relevant branches +* Tue Oct 29 2024 Troy Dawson - 0.15.5-3 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + * Tue Sep 17 2024 saypaul - 0.15.6-2 - Update to 0.15.6-2 * Tue Sep 10 2024 Paul Whalen - 0.15.6-1 - Update to 0.15.6 -* Tue Oct 29 2024 Troy Dawson - 0.15.5-3 -- Bump release for October 2024 mass rebuild: - Resolves: RHEL-64018 - * Thu Aug 22 2024 Peter Robinson - 0.15.5-2 - Reorder files, don't overwrite configs on update diff --git a/sources b/sources index ffe595d..3f84c79 100755 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v0.15.8.tar.gz) = 5277a879a6ed4073b5368e635a1a1f44d4b0ea9037eafea637e8740f287050f385540b3b8c127703761992352e3024c946ba7fb1120c9851c2e547315986d2b2 +SHA512 (v0.15.9.tar.gz) = 79e24f360cae966be64f2625a760b3f8273514955141eb1b20f4466fc32cec2aea85b7720b2669ed6e17eaf71b2d73d1791fc873e4b6578e10620cb6fc65341b