!2 解决postun事务内容为空的问题
From: @reganhe_xx Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
60989f2e5d
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: alertmanager
|
Name: alertmanager
|
||||||
Version: 0.21.0
|
Version: 0.21.0
|
||||||
Release: 2%{?dist}
|
Release: 3
|
||||||
Summary: Prometheus Alertmanager.
|
Summary: Prometheus Alertmanager.
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/prometheus/%{name}
|
URL: https://github.com/prometheus/%{name}
|
||||||
@ -56,7 +56,7 @@ exit 0
|
|||||||
%systemd_preun %{name}.service
|
%systemd_preun %{name}.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun %{name}.service
|
%systemd_postun_with_restart %{name}.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -68,5 +68,10 @@ exit 0
|
|||||||
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 05 2021 herengui <herengui@uniontech.com> - 0.21.0-3
|
||||||
|
- Type: bugfix
|
||||||
|
- ID: #I4431I
|
||||||
|
- DESC: solve empty postun transaction issue.
|
||||||
|
|
||||||
* Tue Aug 11 2020 houjian <houjian@kylinos.cn> - 0.21.0-2
|
* Tue Aug 11 2020 houjian <houjian@kylinos.cn> - 0.21.0-2
|
||||||
- Package init
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user