import greenboot-0.15.1-1.el8

This commit is contained in:
CentOS Sources 2022-09-27 07:41:01 -04:00 committed by Stepan Oksanichenko
parent 5a94b4724b
commit 2a3a1c9767
3 changed files with 20 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v0.14.0.tar.gz
SOURCES/greenboot-0.15.1.tar.gz

View File

@ -1 +1 @@
6c94c4e8961505c4b704248f77ed76f20892cd4d SOURCES/v0.14.0.tar.gz
cd2aa9eae984e3d0f64d7423690e8955e7933ac3 SOURCES/greenboot-0.15.1.tar.gz

View File

@ -1,8 +1,8 @@
%global debug_package %{nil}
Name: greenboot
Version: 0.14.0
Release: 3%{?dist}
Version: 0.15.1
Release: 1%{?dist}
Summary: Generic Health Check Framework for systemd
License: LGPLv2+
@ -11,7 +11,7 @@ License: LGPLv2+
%global repo_tag v%{version}
URL: https://github.com/%{repo_owner}/%{repo_name}
Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/%{repo_tag}.tar.gz
Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/%{repo_tag}.tar.g#/%{name}-%{version}.tar.gz
ExcludeArch: s390x
BuildRequires: systemd-rpm-macros
@ -76,6 +76,7 @@ install -DpZm 0644 usr/lib/systemd/system/*.service %{buildroot}%{_unitdir}
install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf %{buildroot}%{_tmpfilesdir}/greenboot-status-motd.conf
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
%post
%systemd_post greenboot-healthcheck.service
@ -88,6 +89,7 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%systemd_post greenboot-grub2-set-success.service
%systemd_post greenboot-rpm-ostree-grub2-check-fallback.service
%systemd_post redboot-auto-reboot.service
%systemd_post greenboot-service-monitor.service
%post default-health-checks
%systemd_post greenboot-loading-message.service
@ -102,6 +104,7 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%systemd_preun greenboot-grub2-set-counter.service
%systemd_preun greenboot-grub2-set-success.service
%systemd_preun greenboot-rpm-ostree-grub2-check-fallback.service
%systemd_preun greenboot-service-monitor.service
%preun default-health-checks
%systemd_preun greenboot-loading-message.service
@ -116,6 +119,7 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%systemd_postun greenboot-grub2-set-counter.service
%systemd_postun greenboot-grub2-set-success.service
%systemd_postun greenboot-rpm-ostree-grub2-check-fallback.service
%systemd_postun greenboot-service-monitor.service
%postun default-health-checks
%systemd_postun greenboot-loading-message.service
@ -156,6 +160,9 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service
%{_libexecdir}/%{name}/redboot-auto-reboot
%{_unitdir}/redboot-auto-reboot.service
%{_libexecdir}/%{name}/greenboot-service-monitor
%{_unitdir}/greenboot-service-monitor.service
%{_sysconfdir}/%{name}/greenboot.conf
%files default-health-checks
%{_prefix}/lib/%{name}/check/required.d/01_repository_dns_check.sh
@ -164,6 +171,14 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh
%changelog
* Tue Aug 09 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.1-1
- Add conf during installation
* Thu Jul 21 2022 Sayan Paul <saypaul@fedoraproject.org> - 0.15.0-1
- The 0.15.0 release
- Add service-monitor
- Resolves: rhbz#2053469
* Tue Jan 18 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.14.0-3
- Obsolete greenboot-status